@objectstack/core 1.0.9 → 1.0.10

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/dist/index.js CHANGED
@@ -954,6 +954,8 @@ var ObjectKernel = class {
954
954
  try {
955
955
  const service2 = this.pluginLoader.getService(name);
956
956
  if (service2 instanceof Promise) {
957
+ service2.catch(() => {
958
+ });
957
959
  throw new Error(`Service '${name}' is async - use await`);
958
960
  }
959
961
  return service2;