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 /installer/installer.cpp | |
| parent | Fixed anisotropy not loading correctly on save (diff) | |
| parent | add magic number to constants (diff) | |
| download | rawaccel-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.cpp | 5 |
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'; } |