Adding null parameter so that TS doesn't build with strict requirement.
This commit is contained in:
parent
7b11c9e357
commit
12a8487732
|
@ -4,7 +4,7 @@ function isSuppressed(e) {
|
||||||
return e && e["suppressAlert"]
|
return e && e["suppressAlert"]
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports.logAlert = (message, e) => {
|
module.exports.logAlert = (message, e = null) => {
|
||||||
if (e && NonErrors.includes(e.name) && isSuppressed(e)) {
|
if (e && NonErrors.includes(e.name) && isSuppressed(e)) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue