Made sure that more of the async usages are awaited (#4574)

This commit is contained in:
Frank Elsinga
2024-03-15 15:02:55 +01:00
committed by GitHub
parent a9a1cf1353
commit 0e3b3a9ab8
19 changed files with 53 additions and 53 deletions

View File

@@ -16,7 +16,7 @@ class TailscalePing extends MonitorType {
* @param {object} monitor The monitor object associated with the check.
* @param {object} heartbeat The heartbeat object to update.
* @returns {Promise<void>}
* @throws Will throw an error if checking Tailscale ping encounters any error
* @throws Error if checking Tailscale ping encounters any error
*/
async check(monitor, heartbeat) {
try {