Browse Source

Missing this

pull/113/head
Adam Stachowicz 4 years ago
parent
commit
d97091af51
  1. 2
      server/notification.js
  2. 1
      server/ping-lite.js

2
server/notification.js

@ -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 ""
} }

1
server/ping-lite.js

@ -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…
Cancel
Save