From: Maxim Mamontov <faust.madf@gmail.com>
Date: Tue, 7 Jan 2014 17:30:25 +0000 (+0200)
Subject: Fixed error processing.
X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/0e90b234f60ed61562ed710190ed1a62ba82e31f?ds=sidebyside;hp=-c

Fixed error processing.
---

0e90b234f60ed61562ed710190ed1a62ba82e31f
diff --git a/projects/sgconf/main.cpp b/projects/sgconf/main.cpp
index a39f57ce..a0ef89a1 100644
--- a/projects/sgconf/main.cpp
+++ b/projects/sgconf/main.cpp
@@ -1280,7 +1280,7 @@ else
 
 config = configOverride;
 }
-catch (const SGCONF::OPTION::ERROR& ex)
+catch (const std::exception& ex)
 {
 std::cerr << ex.what() << "\n";
 return -1;