Merge pull request #1 from di9it/di9it-show-what
Show last breath error
This commit is contained in:
commit
da466c5469
@ -95,7 +95,7 @@ SOFTWARE.
|
||||
#define JSON_TRY try
|
||||
#define JSON_CATCH(exception) catch(exception)
|
||||
#else
|
||||
#define JSON_THROW(exception) std::abort()
|
||||
#define JSON_THROW(exception) std::cerr<<exception.what()<<std::endl; std::abort()
|
||||
#define JSON_TRY if(true)
|
||||
#define JSON_CATCH(exception) if(false)
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user