mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Add fall-through case to catch a potential requery for unsupported model type
This commit is contained in:
@ -45,6 +45,9 @@ namespace osu.Game.Database
|
||||
|
||||
requeryFiles(beatmapSetInfo.Files, contextFactory);
|
||||
break;
|
||||
|
||||
default:
|
||||
throw new ArgumentException($"{nameof(Requery)} does not have support for the provided model type", nameof(model));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user