summaryrefslogtreecommitdiff
path: root/installer/installer.cpp
diff options
context:
space:
mode:
authora1xd <[email protected]>2020-10-08 23:12:08 -0400
committerGitHub <[email protected]>2020-10-08 23:12:08 -0400
commitf4c04b4eb03fdbf1f3402dfb26e891ce8d968c9f (patch)
tree2da2e0e956c8b92c24260ec9ed4fa3f0681c0a1a /installer/installer.cpp
parentFixed anisotropy not loading correctly on save (diff)
parentadd magic number to constants (diff)
downloadrawaccel-f4c04b4eb03fdbf1f3402dfb26e891ce8d968c9f.tar.xz
rawaccel-f4c04b4eb03fdbf1f3402dfb26e891ce8d968c9f.zip
Merge pull request #33 from a1xd/1.1v1.1.0
1.1
Diffstat (limited to 'installer/installer.cpp')
-rw-r--r--installer/installer.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/installer/installer.cpp b/installer/installer.cpp
index 03c8881..06f234e 100644
--- a/installer/installer.cpp
+++ b/installer/installer.cpp
@@ -76,7 +76,10 @@ int main() {
std::cout << "Install complete, change will take effect after restart.\n";
}
- catch (std::exception e) {
+ catch (const std::system_error& e) {
+ std::cerr << "Error: " << e.what() << ' ' << e.code() << '\n';
+ }
+ catch (const std::exception& e) {
std::cerr << "Error: " << e.what() << '\n';
}