mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01: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:
@@ -72,6 +72,8 @@
|
||||
// whitelistUrls: ['example.com/scripts/']
|
||||
}).install();
|
||||
}
|
||||
}, function(err) {
|
||||
console.log(">> error loading raven", err);
|
||||
})
|
||||
- if (user && typeof(user) != "undefined" && typeof (user.email) != "undefined")
|
||||
script(type="text/javascript").
|
||||
|
||||
Reference in New Issue
Block a user