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 Aug 28, 2024
1 parent ded2eba commit 89b77b8
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 89b77b8

Please sign in to comment.