1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 21:52:55 +08:00

Add fall-through case to catch a potential requery for unsupported model type

This commit is contained in:
Dean Herbert 2021-03-15 12:48:23 +09:00
parent 2bdffd1004
commit 8a35533889

View File

@ -45,6 +45,9 @@ namespace osu.Game.Database
requeryFiles(beatmapSetInfo.Files, contextFactory); requeryFiles(beatmapSetInfo.Files, contextFactory);
break; break;
default:
throw new ArgumentException($"{nameof(Requery)} does not have support for the provided model type", nameof(model));
} }
} }