mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 08:44:04 +00:00
Fix linting error
This commit is contained in:
parent
7961ebb43b
commit
bf32550f86
1 changed files with 1 additions and 2 deletions
|
@ -13,8 +13,7 @@ class RabbitMqMonitorType extends MonitorType {
|
||||||
let baseUrls = [];
|
let baseUrls = [];
|
||||||
try {
|
try {
|
||||||
baseUrls = JSON.parse(monitor.rabbitmqNodes);
|
baseUrls = JSON.parse(monitor.rabbitmqNodes);
|
||||||
}
|
} catch (error) {
|
||||||
catch (error) {
|
|
||||||
throw new Error("Invalid RabbitMQ Nodes");
|
throw new Error("Invalid RabbitMQ Nodes");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue