Skip to content

Commit

Permalink
Fix JSONException not being caught when migrating beatmap collections
Browse files Browse the repository at this point in the history
  • Loading branch information
Rian8337 committed Nov 8, 2024
1 parent 3878182 commit 8dc36b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/com/reco1l/osu/data/Database.kt
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ object DatabaseManager {
oldFavoritesFile.renameTo(File(Config.getCorePath(), "json/favorite_old.json"))
}

} catch (e: IOException) {
Log.e("DatabaseManager", "Failed to migrate legacy beatmap properties", e)
} catch (e: Exception) {
Log.e("DatabaseManager", "Failed to migrate legacy beatmap collections", e)
}

// ScoreInfo
Expand Down

0 comments on commit 8dc36b0

Please sign in to comment.