Skip to content

Commit

Permalink
Fix Shikimori ignoring missing remote entry
Browse files Browse the repository at this point in the history
The user would see no indication that Shikimori could not properly
refresh the track from the remote. This change causes the error Toast
notification to pop up with the following message
"Shikimori error: Could not find manga".

This is analogous to Kitsu and Bangumi.
  • Loading branch information
MajorTanya committed Sep 2, 2024
1 parent 2007044 commit 6df7caf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class Shikimori(id: Long) : BaseTracker(id, "Shikimori"), DeletableTracker {
track.library_id = remoteTrack.library_id
track.copyPersonalFrom(remoteTrack)
track.total_chapters = remoteTrack.total_chapters
}
} ?: throw Exception("Could not find manga")
return track
}

Expand Down

0 comments on commit 6df7caf

Please sign in to comment.