X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkSetBackground.cxx;h=b70799990b4044f0db55c468fb831bdf41d9742f;hb=f48c960aef6e0a5a4edea516b062197db009e25f;hp=a44b4eb00f7c9599231a1adf91947e9d2f04018c;hpb=32539f6a33f6a97a8493a1fa11360d09be843a4c;p=clitk.git diff --git a/tools/clitkSetBackground.cxx b/tools/clitkSetBackground.cxx index a44b4eb..b707999 100644 --- a/tools/clitkSetBackground.cxx +++ b/tools/clitkSetBackground.cxx @@ -34,7 +34,7 @@ int main(int argc, char * argv[]) clitk::SetBackgroundGenericFilter::Pointer genericFilter=clitk::SetBackgroundGenericFilter::New(); genericFilter->SetArgsInfo(args_info); - genericFilter->Update(); + CLITK_TRY_CATCH_EXIT(genericFilter->Update()); return EXIT_SUCCESS; }// end main