mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-13 08:02:35 +02:00
update message format
This commit is contained in:
parent
80f4a98492
commit
5f790aac26
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ class Monitor extends BeanModel {
|
|||
} catch (error) {
|
||||
|
||||
if (axios.isAxiosError(error) && error.response) {
|
||||
bean.msg = `${error.message}, ${JSON.stringify(error.response.data)}`;
|
||||
bean.msg = `Message: ${error.message}. Response: ${JSON.stringify(error.response.data)}`;
|
||||
} else {
|
||||
bean.msg = error.message;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue