kopia lustrzana https://github.com/c9/core
Merge pull request +10385 from c9/fix/removing-logger
Removing logger duplicationpull/223/head
commit
0f5afa53ae
|
@ -16,9 +16,6 @@ function plugin(options, imports, register) {
|
||||||
function error(err, customData, user) {
|
function error(err, customData, user) {
|
||||||
if (typeof err == "string")
|
if (typeof err == "string")
|
||||||
err = new Error(err);
|
err = new Error(err);
|
||||||
if (typeof err === "string") {
|
|
||||||
err = new Error(err);
|
|
||||||
}
|
|
||||||
raygun.errorClient.setUser(user);
|
raygun.errorClient.setUser(user);
|
||||||
raygun.errorClient.send(err, customData);
|
raygun.errorClient.send(err, customData);
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue