diff options
| author | a1xd <[email protected]> | 2020-10-08 23:12:08 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-10-08 23:12:08 -0400 |
| commit | f4c04b4eb03fdbf1f3402dfb26e891ce8d968c9f (patch) | |
| tree | 2da2e0e956c8b92c24260ec9ed4fa3f0681c0a1a /uninstaller/uninstaller.cpp | |
| parent | Fixed anisotropy not loading correctly on save (diff) | |
| parent | add magic number to constants (diff) | |
| download | rawaccel-1.1.0.tar.xz rawaccel-1.1.0.zip | |
Merge pull request #33 from a1xd/1.1v1.1.0
1.1
Diffstat (limited to 'uninstaller/uninstaller.cpp')
| -rw-r--r-- | uninstaller/uninstaller.cpp | 5 |
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'; } |