mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Timeslider: Install an error handler
This commit is contained in:
parent
1e22e0102d
commit
0ca5a3459f
3 changed files with 4 additions and 0 deletions
|
@ -296,6 +296,7 @@ const padutils = {
|
|||
let globalExceptionHandler = null;
|
||||
padutils.setupGlobalExceptionHandler = () => {
|
||||
if (globalExceptionHandler == null) {
|
||||
require('./vendors/gritter');
|
||||
globalExceptionHandler = (e) => {
|
||||
let type;
|
||||
let err;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue