mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:27:29 +08:00
Add fall-through case to catch a potential requery for unsupported model type
This commit is contained in:
parent
2bdffd1004
commit
8a35533889
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user