mirror of https://github.com/docker/docs.git
Fixing bugging dev error
This commit is contained in:
parent
ef975d42e3
commit
ccf8776b43
|
@ -38,6 +38,7 @@ if (process.env.NODE_ENV === 'development') {
|
|||
head.appendChild(script);
|
||||
}
|
||||
|
||||
if (settingsjson.bugsnag) {
|
||||
bugsnag.apiKey = settingsjson.bugsnag;
|
||||
bugsnag.autoNotify = true;
|
||||
bugsnag.releaseStage = process.env.NODE_ENV === 'development' ? 'development' : 'production';
|
||||
|
@ -54,6 +55,7 @@ bugsnag.beforeNotify = function(payload) {
|
|||
payload.file = payload.file.replace(/%20/g, ' ').replace(re, '<redacted homedir>');
|
||||
payload.url = '<redacted url>';
|
||||
};
|
||||
}
|
||||
|
||||
document.onkeydown = function (e) {
|
||||
e = e || window.event;
|
||||
|
|
Loading…
Reference in New Issue