We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08d77e6 commit 6dfa574Copy full SHA for 6dfa574
server/monitor-types/tailscale-ping.js
@@ -31,7 +31,7 @@ class TailscalePing extends MonitorType {
31
timeout: timeout,
32
encoding: "utf8",
33
});
34
- if (res.stderr && res.stderr.toString()) {
+ if (res.stderr && res.stderr.toString() && res.code !== 0) {
35
throw new Error(`Error in output: ${res.stderr.toString()}`);
36
}
37
if (res.stdout && res.stdout.toString()) {
0 commit comments