diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-10-11 02:19:21 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-10-11 02:19:21 +0900 |
| commit | bf0ef17e23454fc18ef759b9bacdb1c00ac1e89c (patch) | |
| tree | 6738343c1a61f32aea9d6c51f218ae57b54e0305 /src/models/notification.ts | |
| parent | Improve fault tolerance (diff) | |
| download | sharkey-bf0ef17e23454fc18ef759b9bacdb1c00ac1e89c.tar.gz sharkey-bf0ef17e23454fc18ef759b9bacdb1c00ac1e89c.tar.bz2 sharkey-bf0ef17e23454fc18ef759b9bacdb1c00ac1e89c.zip | |
Improve error logs
Diffstat (limited to 'src/models/notification.ts')
| -rw-r--r-- | src/models/notification.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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<any>(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; |