Fix linting error

This commit is contained in:
Suven-p 2024-10-20 09:35:13 +05:45
parent 7961ebb43b
commit bf32550f86

View file

@ -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");
} }