From bf0ef17e23454fc18ef759b9bacdb1c00ac1e89c Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 11 Oct 2018 02:19:21 +0900 Subject: Improve error logs --- src/models/notification.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/models/notification.ts') diff --git a/src/models/notification.ts b/src/models/notification.ts index 57be4bef10..9e700104ab 100644 --- a/src/models/notification.ts +++ b/src/models/notification.ts @@ -132,7 +132,7 @@ export const pack = (notification: any) => new Promise(async (resolve, reje // (データベースの不具合などで)投稿が見つからなかったら if (_notification.note == null) { - console.warn(`in packaging notification: note not found on database: ${_notification.noteId}`); + console.warn(`[DAMAGED DB] (missing) pkg: notification -> note :: ${_notification.id} (note ${_notification.noteId})`); return resolve(null); } break; -- cgit v1.2.3-freya