We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a023ac5 commit 44d858bCopy full SHA for 44d858b
lib/stackInformation.js
@@ -82,7 +82,9 @@ module.exports = {
82
.mapSeries(stack => BbPromise.join(BbPromise.resolve(stack), this.aliasStackLoadTemplate(stack)))
83
.map(stackInfo => ({ stack: stackInfo[0], template: stackInfo[1] }))
84
.catch(err => {
85
- if (err.statusCode === 400) {
+ if (err.statusCode === 400
86
+ || (err.statusCode === undefined && err.providerError && err.providerError.statusCode === 400)
87
+ ) {
88
// The export is not yet there. Can happen on the very first alias stack deployment.
89
return BbPromise.resolve([]);
90
}
0 commit comments