mirror of
https://github.com/plankanban/planka.git
synced 2025-07-19 13:19:44 +02:00
parent
1dfdd8f6c7
commit
fca77c02b3
7 changed files with 46 additions and 29 deletions
|
@ -130,8 +130,8 @@ async function sendWebhook(webhook, event, data, user) {
|
|||
`Webhook ${webhook.url} failed with status ${response.status} and message: ${message}`,
|
||||
);
|
||||
}
|
||||
} catch (e) {
|
||||
sails.log.error(`Webhook ${webhook.url} failed with error message: ${e.message}`);
|
||||
} catch (error) {
|
||||
sails.log.error(`Webhook ${webhook.url} failed with error: ${error}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue