Improve error handling of pack function of notification

This commit is contained in:
syuilo
2018-10-04 13:53:48 +09:00
parent 35489ef5b7
commit fce7dc0f4e
3 changed files with 15 additions and 3 deletions

View File

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