Timeslider: Install an error handler

This commit is contained in:
Richard Hansen 2021-08-02 19:57:33 -04:00
parent 1e22e0102d
commit 0ca5a3459f
3 changed files with 4 additions and 0 deletions

View file

@ -296,6 +296,7 @@ const padutils = {
let globalExceptionHandler = null;
padutils.setupGlobalExceptionHandler = () => {
if (globalExceptionHandler == null) {
require('./vendors/gritter');
globalExceptionHandler = (e) => {
let type;
let err;