mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-22 19:45:56 +00:00
Update server/notification-providers/onechat.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
parent
e3aaceef3f
commit
46e3daef26
1 changed files with 1 additions and 3 deletions
|
@ -64,9 +64,7 @@ Time (${heartbeatJSON["timezone"]}): ${heartbeatJSON["localDateTime"]}`,
|
|||
"Unknown API error occurred.";
|
||||
throw new Error(`OneChat API Error: ${errorMessage}`);
|
||||
} else {
|
||||
throw new Error(
|
||||
`Network or unexpected error: ${error.message}`
|
||||
);
|
||||
this.throwGeneralAxiosError(error);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue