We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5690c82 commit 9680309Copy full SHA for 9680309
lib/stackInformation.js
@@ -82,7 +82,14 @@ 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 (
86
+ err.statusCode === 400 ||
87
+ (
88
+ err.statusCode === undefined &&
89
+ err.providerError &&
90
+ err.providerError.statusCode === 400
91
+ )
92
+ ) {
93
// The export is not yet there. Can happen on the very first alias stack deployment.
94
return BbPromise.resolve([]);
95
}
0 commit comments