send summon error logging to testing channel
This commit is contained in:
1 parent
949abbf6e9
commit
184e922be6
1 file changed
+3
-1
@@ -520,7 +520,9 @@ client.on('message', message => {
|
||||
} catch (error) {
|
||||
//message.channel.send(error.stack);
|
||||
//message.channel.send(error.name);
|
||||
message.channel.send(error.message);
|
||||
//message.channel.send(error.message);
|
||||
client.channels.get('357365312620068874').send(error.message);
|
||||
// If "Cannot read property 'link' of undefined" then the reddit doesn't exist.
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user