mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-24 06:49:41 -05:00
Missing this
This commit is contained in:
parent
4c8fdd07d9
commit
d97091af51
@ -309,8 +309,8 @@ class Notification {
|
|||||||
if (! output.includes("ERROR")) {
|
if (! output.includes("ERROR")) {
|
||||||
return "Sent Successfully";
|
return "Sent Successfully";
|
||||||
}
|
}
|
||||||
throw new Error(output)
|
|
||||||
|
|
||||||
|
throw new Error(output)
|
||||||
} else {
|
} else {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
@ -97,6 +97,7 @@ Ping.prototype.send = function(callback) {
|
|||||||
if (stderr) {
|
if (stderr) {
|
||||||
return callback(new Error(stderr));
|
return callback(new Error(stderr));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!stdout) {
|
if (!stdout) {
|
||||||
return callback(new Error("No stdout detected"));
|
return callback(new Error("No stdout detected"));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user