]> git.stg.codes - stg.git/commitdiff
Fixed error processing.
authorMaxim Mamontov <faust.madf@gmail.com>
Tue, 7 Jan 2014 17:30:25 +0000 (19:30 +0200)
committerMaxim Mamontov <faust.madf@gmail.com>
Tue, 7 Jan 2014 17:30:25 +0000 (19:30 +0200)
projects/sgconf/main.cpp

index a39f57cee6b7887b3b995101109c67823553018d..a0ef89a1e632171c3ba977a32bc3dc4d96ce22bf 100644 (file)
@@ -1280,7 +1280,7 @@ else
 
 config = configOverride;
 }
 
 config = configOverride;
 }
-catch (const SGCONF::OPTION::ERROR& ex)
+catch (const std::exception& ex)
 {
 std::cerr << ex.what() << "\n";
 return -1;
 {
 std::cerr << ex.what() << "\n";
 return -1;