Improve error handling of pack function of notification
This commit is contained in:
parent
35489ef5b7
commit
fce7dc0f4e
3 changed files with 15 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue