backend-manager 2.5.18 → 2.5.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backend-manager",
3
- "version": "2.5.18",
3
+ "version": "2.5.19",
4
4
  "description": "Quick tools for developing Firebase functions",
5
5
  "main": "src/manager/index.js",
6
6
  "bin": {
@@ -675,7 +675,12 @@ function resolveProjectPackage() {
675
675
  }
676
676
 
677
677
  function requireJSON5(p) {
678
- return JSON5.parse(jetpack.read(p))
678
+ try {
679
+ return JSON5.parse(jetpack.read(p))
680
+ } catch (e) {
681
+ console.error('Failed to load JSON', e);
682
+ throw e;
683
+ }
679
684
  }
680
685
 
681
686
  module.exports = Manager;