properly log error
This commit is contained in:
parent
21315f490b
commit
1a55308047
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ client.on('messageCreate', async message => {
|
|||
metrics.messages.inc({ source: 'discord', type: 'create' });
|
||||
})
|
||||
.catch(async e => {
|
||||
console.error(`Failed to send message`, e.response.data);
|
||||
console.error(`Failed to send message: ${e}`);
|
||||
if (reply) {
|
||||
console.info('Reytring without reply');
|
||||
await sendBridgeMessage(undefined);
|
||||
|
|
Loading…
Reference in a new issue