summaryrefslogtreecommitdiff
path: root/grapher
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-09-27 22:05:48 -0700
committerJacob Palecki <[email protected]>2020-09-27 22:05:48 -0700
commit9ea8c510e33f43981cff95a9512a3fc2303f1c1b (patch)
tree632e3e1009978f84a0287cf991fe781ea9b6b5bd /grapher
parentHandle errors from bad arg on write (diff)
downloadrawaccel-9ea8c510e33f43981cff95a9512a3fc2303f1c1b.tar.xz
rawaccel-9ea8c510e33f43981cff95a9512a3fc2303f1c1b.zip
Show MessageBox with exception on driver not installed
Diffstat (limited to 'grapher')
-rw-r--r--grapher/Form1.cs3
1 files changed, 2 insertions, 1 deletions
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;
}