From dfa21444b4ee50365e777d66cf736f59a6e76888 Mon Sep 17 00:00:00 2001 From: Mikal Stodal Date: Thu, 2 Mar 2017 14:10:32 +0100 Subject: [PATCH] Ensure correct exception logged --- osu.Game/Database/BeatmapDatabase.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/osu.Game/Database/BeatmapDatabase.cs b/osu.Game/Database/BeatmapDatabase.cs index 0b55a81ba9..7ce4ad0d84 100644 --- a/osu.Game/Database/BeatmapDatabase.cs +++ b/osu.Game/Database/BeatmapDatabase.cs @@ -143,6 +143,7 @@ namespace osu.Game.Database } catch (Exception e) { + e = e.InnerException ?? e; Logger.Error(e, $@"Could not import beatmap set"); }