Use internal logger instead of debug/console for logging

Resolve #4104
Resolve #1966
Resolve #1937
This commit is contained in:
syuilo
2019-02-03 18:16:57 +09:00
parent 3a5867b324
commit 0868c3517f
41 changed files with 136 additions and 109 deletions

View File

@@ -495,7 +495,6 @@ async function insertNote(user: IUser, data: Option, tags: string[], emojis: str
return null;
}
console.error(e);
throw 'something happened';
}
}

View File

@@ -30,7 +30,6 @@ export default async (user: IUser, note: INote, reaction: string) => new Promise
return rej('already reacted');
}
console.error(e);
return rej('something happened');
}