mirror of
https://github.com/ppy/osu.git
synced 2025-03-24 06:47:18 +08:00
Don't unwrap exception manually
This commit is contained in:
parent
e19f4935c3
commit
f31b19e0d7
@ -172,8 +172,7 @@ namespace osu.Game.Database
|
||||
}
|
||||
else
|
||||
{
|
||||
var e = t.Exception.InnerException ?? t.Exception;
|
||||
Logger.Error(e, $@"Could not import ({Path.GetFileName(path)})");
|
||||
Logger.Error(t.Exception, $@"Could not import ({Path.GetFileName(path)})");
|
||||
}
|
||||
}, TaskContinuationOptions.NotOnCanceled)));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user