From 9ea8c510e33f43981cff95a9512a3fc2303f1c1b Mon Sep 17 00:00:00 2001 From: Jacob Palecki Date: Sun, 27 Sep 2020 22:05:48 -0700 Subject: Show MessageBox with exception on driver not installed --- grapher/Form1.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'grapher/Form1.cs') diff --git a/grapher/Form1.cs b/grapher/Form1.cs index 6f61c65..a1d43b3 100644 --- a/grapher/Form1.cs +++ b/grapher/Form1.cs @@ -32,8 +32,9 @@ namespace grapher { activeAccel = ManagedAccel.GetActiveAccel(); } - catch (DriverNotInstalledException) + catch (DriverNotInstalledException ex) { + MessageBox.Show($"Driver not installed.\n\n {ex.ToString()}"); throw; } -- cgit v1.2.3