diff --git a/src/NMRiumWrapper.tsx b/src/NMRiumWrapper.tsx index fd7a67e..e857788 100644 --- a/src/NMRiumWrapper.tsx +++ b/src/NMRiumWrapper.tsx @@ -122,6 +122,9 @@ export default function NMRiumWrapper() { preferences={preferences} workspace={workspace} emptyText={defaultEmptyMessage} + onError={(error) => { + events.trigger('error', error); + }} />