diff options
| author | a1xd <[email protected]> | 2020-10-05 23:14:21 -0400 |
|---|---|---|
| committer | a1xd <[email protected]> | 2020-10-07 05:31:23 -0400 |
| commit | c5987ac1e233e1093485d38154d8896e4bb6ee44 (patch) | |
| tree | eb559c944c671f6fffb6c84dc2ebca9f7e663b66 /installer/installer.cpp | |
| parent | Fixed anisotropy not loading correctly on save (diff) | |
| download | rawaccel-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/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'; } |