From 5cf85b46dedcba1932c282a72e6206e4a15e06df Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Tue, 26 May 2020 14:11:20 +1000 Subject: [PATCH] per comment Add refer to logs message + warning icon --- Flow.Launcher.Core/Plugin/PluginsLoader.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Flow.Launcher.Core/Plugin/PluginsLoader.cs b/Flow.Launcher.Core/Plugin/PluginsLoader.cs index afbc18fdb..925083536 100644 --- a/Flow.Launcher.Core/Plugin/PluginsLoader.cs +++ b/Flow.Launcher.Core/Plugin/PluginsLoader.cs @@ -5,7 +5,7 @@ using System.Linq; using System.Reflection; using System.Runtime.Loader; using System.Threading.Tasks; -using System.Windows; +using System.Windows.Forms; using Flow.Launcher.Infrastructure; using Flow.Launcher.Infrastructure.Logger; using Flow.Launcher.Infrastructure.UserSettings; @@ -117,7 +117,10 @@ namespace Flow.Launcher.Core.Plugin Task.Run(() => { - MessageBox.Show($"{errorMessage}{Environment.NewLine}{errorPluginString}"); + MessageBox.Show($"{errorMessage}{Environment.NewLine}{Environment.NewLine}" + + $"{errorPluginString}{Environment.NewLine}{Environment.NewLine} " + + $"Please refer to the logs for more information","", + MessageBoxButtons.OK, MessageBoxIcon.Warning); }); }