mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-23 21:11:41 +00:00
Add an error handler to Raven loader.
This should allow app to continue to work if loading Raven times out.
This commit is contained in:
parent
1fb036811a
commit
a4992891d0
1 changed files with 2 additions and 0 deletions
|
@ -72,6 +72,8 @@
|
||||||
// whitelistUrls: ['example.com/scripts/']
|
// whitelistUrls: ['example.com/scripts/']
|
||||||
}).install();
|
}).install();
|
||||||
}
|
}
|
||||||
|
}, function(err) {
|
||||||
|
console.log(">> error loading raven", err);
|
||||||
})
|
})
|
||||||
- if (user && typeof(user) != "undefined" && typeof (user.email) != "undefined")
|
- if (user && typeof(user) != "undefined" && typeof (user.email) != "undefined")
|
||||||
script(type="text/javascript").
|
script(type="text/javascript").
|
||||||
|
|
Loading…
Reference in a new issue