@fleetbase/ember-core 0.2.19 → 0.2.20

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.
@@ -1775,7 +1775,7 @@ export default class UniverseService extends Service.extend(Evented) {
1775
1775
  clearInterval(intervalId);
1776
1776
  reject(new Error('Timeout: Universe was unable to boot engines'));
1777
1777
  },
1778
- 5000
1778
+ 1000 * 40
1779
1779
  );
1780
1780
  });
1781
1781
  }
@@ -1867,8 +1867,9 @@ export default class UniverseService extends Service.extend(Evented) {
1867
1867
  await tryBootEngine(extension);
1868
1868
  }
1869
1869
 
1870
- this.runBootCallbacks(owner);
1871
- this.enginesBooted = true;
1870
+ this.runBootCallbacks(owner, () => {
1871
+ this.enginesBooted = true;
1872
+ });
1872
1873
  });
1873
1874
  }
1874
1875
 
@@ -1953,8 +1954,9 @@ export default class UniverseService extends Service.extend(Evented) {
1953
1954
  await tryBootEngine(extension);
1954
1955
  }
1955
1956
 
1956
- this.runBootCallbacks(owner);
1957
- this.enginesBooted = true;
1957
+ this.runBootCallbacks(owner, () => {
1958
+ this.enginesBooted = true;
1959
+ });
1958
1960
  });
1959
1961
  }
1960
1962
 
@@ -2004,7 +2006,11 @@ export default class UniverseService extends Service.extend(Evented) {
2004
2006
  for (let i = 0; i < this.bootCallbacks.length; i++) {
2005
2007
  const callback = this.bootCallbacks[i];
2006
2008
  if (typeof callback === 'function') {
2007
- callback(this, appInstance);
2009
+ try {
2010
+ callback(this, appInstance);
2011
+ } catch (error) {
2012
+ debug(`Engine Boot Callback Error: ${error.message}`);
2013
+ }
2008
2014
  }
2009
2015
  }
2010
2016
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fleetbase/ember-core",
3
- "version": "0.2.19",
3
+ "version": "0.2.20",
4
4
  "description": "Provides all the core services, decorators and utilities for building a Fleetbase extension for the Console.",
5
5
  "keywords": [
6
6
  "fleetbase-core",