Update outdated exception message

Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
This commit is contained in:
Dean Herbert 2022-01-22 12:02:18 +09:00 committed by GitHub
parent 8f1dfa33a2
commit b23f4674b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ namespace osu.Game.Database
get
{
if (!ThreadSafety.IsUpdateThread)
throw new InvalidOperationException(@$"Use {nameof(createContext)} when performing realm operations from a non-update thread");
throw new InvalidOperationException(@$"Use {nameof(Run)}/{nameof(Write)} when performing realm operations from a non-update thread");
lock (contextLock)
{