1
0
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:
Dean Herbert 2019-06-10 16:02:49 +09:00
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)));