3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-16 22:55:03 +00:00

Add proper toString to PluginRuntimeError

This commit is contained in:
Dragory 2019-02-09 14:33:39 +02:00
parent a96ecb762b
commit f543324942

View file

@ -14,4 +14,8 @@ export class PluginRuntimeError {
[util.inspect.custom](depth, options) {
return `PRE [${this.pluginName}] [${this.guildId}] ${this.message}`;
}
toString() {
return this[util.inspect.custom]();
}
}