Changeset 330b8cb
- Timestamp:
- 08/30/17 19:26:49 (5 years ago)
- Branches:
- master, qt5
- Children:
- e4c166a
- Parents:
- 81e085d
- git-author:
- Martín Ferrari <tincho@…> (08/27/17 22:27:34)
- git-committer:
- Philipp Spitzer <philipp@…> (08/30/17 19:26:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/app/application.cpp
r81e085d r330b8cb 18 18 * ConfClerk. If not, see <http://www.gnu.org/licenses/>. 19 19 */ 20 #if defined(__GNUC__) || defined(__llvm__) || defined(__clang__) 21 #include <cxxabi.h> 22 #endif 23 #include <exception> 24 20 25 #include "application.h" 21 26 #include "errormessage.h" … … 33 38 error_message("UNCAUGHT OrmException: " + e.text()); 34 39 return false; 40 } catch (std::exception& e) { 41 error_message("UNCAUGHT exception: " + QString(e.what())); 42 return false; 35 43 } catch (...) { 36 error_message("UNCAUGHT EXCEPTION: unknown"); 44 error_message("UNCAUGHT exception: " + 45 #if defined(__GNUC__) || defined(__llvm__) || defined(__clang__) 46 QString(__cxxabiv1::__cxa_current_exception_type()->name()) 47 #else 48 "unknown" 49 #endif 50 ); 37 51 return false; 38 52 }
Note: See TracChangeset
for help on using the changeset viewer.