@finos/legend-application-studio 28.13.14 → 28.13.15

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.
@@ -811,7 +811,14 @@ export class EditorStore implements CommandRegistrar {
811
811
  Date.now() - startTime,
812
812
  'ms',
813
813
  );
814
- } catch {
814
+ } catch (error) {
815
+ assertErrorThrown(error);
816
+ this.applicationStore.logService.error(
817
+ LogEvent.create(GRAPH_MANAGER_EVENT.FETCH_GRAPH_ENTITIES_ERROR),
818
+ Date.now() - startTime,
819
+ 'ms',
820
+ );
821
+ this.applicationStore.notificationService.notifyError(error);
815
822
  return;
816
823
  } finally {
817
824
  this.initState.setMessage(undefined);
@@ -928,7 +935,14 @@ export class EditorStore implements CommandRegistrar {
928
935
  Date.now() - startTime,
929
936
  'ms',
930
937
  );
931
- } catch {
938
+ } catch (error) {
939
+ assertErrorThrown(error);
940
+ this.applicationStore.logService.error(
941
+ LogEvent.create(GRAPH_MANAGER_EVENT.FETCH_GRAPH_ENTITIES_ERROR),
942
+ Date.now() - startTime,
943
+ 'ms',
944
+ );
945
+ this.applicationStore.notificationService.notifyError(error);
932
946
  return;
933
947
  } finally {
934
948
  this.initState.setMessage(undefined);