Skip to content

Commit

Permalink
feat: throw errors from nmrium using the error action
Browse files Browse the repository at this point in the history
  • Loading branch information
hamed-musallam committed Dec 14, 2023
1 parent 959b514 commit 6ca6c56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/NMRiumWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ export default function NMRiumWrapper() {
preferences={preferences}
workspace={workspace}
emptyText={defaultEmptyMessage}
onError={(error) => {
events.trigger('error', error);
}}
/>
<AboutUsModal />
</RootLayout>
Expand Down

0 comments on commit 6ca6c56

Please sign in to comment.