pull/3135/head
Louis Lam 2 years ago
parent f0beccf6bf
commit 5cd506e340

@ -25,7 +25,7 @@ class Telegram extends NotificationProvider {
return okMsg; return okMsg;
} catch (error) { } catch (error) {
let msg = (error.response.data.description) ? error.response.data.description : "Error without description"; let msg = (error.response && error.response.data && error.response.data.description) ? error.response.data.description : "Error without description";
throw new Error(msg); throw new Error(msg);
} }
} }

Loading…
Cancel
Save