Skip to content

Commit 76fd751

Browse files
committed
- fix unhandled error when loading app info
1 parent 0ee1176 commit 76fd751

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,12 @@ class Backendless {
177177
})
178178
}
179179

180+
this.__appInfoPromise
181+
.catch(error => {
182+
// eslint-disable-next-line no-console
183+
console.error('could not load backendless app info', error)
184+
})
185+
180186
return this.__appInfoPromise
181187
}
182188

0 commit comments

Comments
 (0)