]> Creatis software - clitk.git/blobdiff - tools/clitkImageConvert.cxx
more refined abort-on-exception mechanism
[clitk.git] / tools / clitkImageConvert.cxx
index 297b63711f6c107f389ea487b9049221582a4b44..64bcfe180a32a50f9f8759341e6e63d0d1b3efba 100644 (file)
@@ -60,7 +60,7 @@ int main(int argc, char * argv[])
   if (args_info.type_given) filter->SetOutputPixelType(args_info.type_arg);
 
   // Go !
-  filter->Update();
+  CLITK_TRY_CATCH_EXIT(filter->Update());
 
   // this is the end my friend
   return 0;