console log error and divider on same line
This commit is contained in:
parent
1c8affebb3
commit
cfdee13040
1 changed files with 1 additions and 2 deletions
|
@ -57,8 +57,7 @@ client.on('message', async message => {
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
message.channel.send("That command either does not exist, or is broken.")
|
message.channel.send("That command either does not exist, or is broken.")
|
||||||
console.log(error)
|
console.log(`${error}\n-------`)
|
||||||
console.log("-------")
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue