mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
Fix SimpleError not logging properly
This commit is contained in:
parent
31d3e2b1d7
commit
fc706d38ee
1 changed files with 2 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
|||
import util from "util";
|
||||
|
||||
export class SimpleError {
|
||||
export class SimpleError extends Error {
|
||||
public message: string;
|
||||
|
||||
constructor(message: string) {
|
||||
this.message = message;
|
||||
super(message);
|
||||
}
|
||||
|
||||
[util.inspect.custom](depth, options) {
|
||||
|
|
Loading…
Add table
Reference in a new issue