Merge pull request #2927 from bluewave-labs/fix/ping-error-logging

fix: throw ping error if present
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-09-08 06:45:00 -07:00
commit 2bff4bbd15
1 file changed
+3
@@ -75,6 +75,9 @@ class NetworkService {
const { response, responseTime, error } = await this.timeRequest(() => this.ping.promise.probe(monitor.url));
if (!response) {
if (error) {
throw error;
}
throw new Error("Ping failed - no result returned");
}