Skip to content
Snippets Groups Projects
Commit 613ef142 authored by Julien Malik's avatar Julien Malik
Browse files

BUG: throw an exception as soon as a FATAL error is caught so that processes abort cleanly

parent 7c3ec7eb
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,7 @@
std::ostringstream message; \
message << "" x << std::endl; \
this->GetLogger()->Write( itk::LoggerBase::FATAL, message.str() ); \
itkGenericExceptionMacro(<< "Fatal error caught. Aborting..."); \
}
#define otbAppLogCRITICAL(x) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment