]> Creatis software - clitk.git/blobdiff - tools/clitkImageArithm.cxx
more refined abort-on-exception mechanism
[clitk.git] / tools / clitkImageArithm.cxx
index 61dbcb1de2e7dc7cd53cd5318a327c75e451cc19..4cb22ca85c806ae1bb0d9f941913e8e91a152b01 100644 (file)
@@ -43,7 +43,7 @@ int main(int argc, char * argv[])
 
   // Go !
   filter->SetArgsInfo(args_info);
-  filter->Update();
+  CLITK_TRY_CATCH_EXIT(filter->Update());
 
   // this is the end my friend
   return EXIT_SUCCESS;