chore(error-handling): Log errors in OHIF.ui.handleError
This commit is contained in:
parent
63a9fdab62
commit
1c1ad7de42
@ -29,6 +29,7 @@ OHIF.ui.handleError = error => {
|
||||
cancelClass: 'btn-secondary'
|
||||
}, error || {});
|
||||
|
||||
OHIF.log.error(error);
|
||||
// TODO: Find a better way to handle errors instead of displaying a dialog for all of them.
|
||||
// OHIF.ui.showDialog('dialogForm', data);
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user