summaryrefslogtreecommitdiff
path: root/uninstaller/uninstaller.cpp
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 /uninstaller/uninstaller.cpp
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 'uninstaller/uninstaller.cpp')
-rw-r--r--uninstaller/uninstaller.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/uninstaller/uninstaller.cpp b/uninstaller/uninstaller.cpp
index 4d02715..8d9e890 100644
--- a/uninstaller/uninstaller.cpp
+++ b/uninstaller/uninstaller.cpp
@@ -20,7 +20,10 @@ int main() {
}
std::cout << "Removal 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';
}