1
0
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:
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);
break;
default:
throw new ArgumentException($"{nameof(Requery)} does not have support for the provided model type", nameof(model));
}
}