diff --git a/osu.Game/IPC/BeatmapImporter.cs b/osu.Game/IPC/BeatmapImporter.cs index b6ce4d1e35..bb3589c64f 100644 --- a/osu.Game/IPC/BeatmapImporter.cs +++ b/osu.Game/IPC/BeatmapImporter.cs @@ -3,6 +3,7 @@ using System.Diagnostics; using System.Threading.Tasks; +using osu.Framework.Logging; using osu.Framework.Platform; using osu.Game.Database; @@ -13,7 +14,7 @@ namespace osu.Game.IPC private IpcChannel channel; private BeatmapDatabase beatmaps; - public BeatmapImporter(GameHost host, BeatmapDatabase beatmaps = null) + public BeatmapImporter(GameHost host, BeatmapDatabase beatmaps = null) { this.beatmaps = beatmaps; @@ -35,7 +36,7 @@ namespace osu.Game.IPC { Debug.Assert(beatmaps != null); - ImportAsync(msg.Path); + ImportAsync(msg.Path).ContinueWith(t => Logger.Error(t.Exception, @"error during async import"), TaskContinuationOptions.OnlyOnFaulted); } }