chore(error-handling): Log errors in OHIF.ui.handleError

This commit is contained in:
Bruno Alves de Faria 2018-04-25 10:21:08 -03:00 committed by Erik Ziegler
parent 63a9fdab62
commit 1c1ad7de42

View File

@ -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);
};