Improve error logs

This commit is contained in:
syuilo
2018-10-11 02:19:21 +09:00
parent 7dae5107f8
commit bf0ef17e23
4 changed files with 8 additions and 8 deletions

View File

@@ -79,7 +79,7 @@ export const pack = (
// (データベースの不具合などで)投稿が見つからなかったら
if (_favorite.note == null) {
console.warn(`in packaging favorite: note not found on database: ${_favorite.noteId}`);
console.warn(`[DAMAGED DB] (missing) pkg: favorite -> note :: ${_favorite.id} (note ${_favorite.noteId})`);
return resolve(null);
}