mirror of
https://github.com/ppy/osu.git
synced 2026-06-05 21:54:47 +08:00
Don't unwrap exception manually
This commit is contained in:
@@ -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)));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user