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:
parent
2bdffd1004
commit
8a35533889
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user