Improve error handling of pack function of notification
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user