summaryrefslogtreecommitdiff
path: root/installer
diff options
context:
space:
mode:
authora1xd <[email protected]>2020-10-05 23:14:21 -0400
committera1xd <[email protected]>2020-10-07 05:31:23 -0400
commitc5987ac1e233e1093485d38154d8896e4bb6ee44 (patch)
treeeb559c944c671f6fffb6c84dc2ebca9f7e663b66 /installer
parentFixed anisotropy not loading correctly on save (diff)
downloadrawaccel-c5987ac1e233e1093485d38154d8896e4bb6ee44.tar.xz
rawaccel-c5987ac1e233e1093485d38154d8896e4bb6ee44.zip
improve installer + docs
improve exception handling add link to vcr redist in install section of guide
Diffstat (limited to 'installer')
-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';
}