diff --git a/Craftimizer/Windows/MacroEditor.cs b/Craftimizer/Windows/MacroEditor.cs index 9d4f9e1..0114ec7 100644 --- a/Craftimizer/Windows/MacroEditor.cs +++ b/Craftimizer/Windows/MacroEditor.cs @@ -1390,7 +1390,10 @@ public sealed class MacroEditor : Window, IDisposable } catch (AggregateException e) { - popupImportError = e.Message; + if (e.InnerExceptions.Count == 1) + popupImportError = e.InnerExceptions[0].Message; + else + popupImportError = e.Message; Log.Error(e, "Retrieving macro failed"); } }, TaskContinuationOptions.OnlyOnFaulted);