Skip to content
Snippets Groups Projects

Also print error messages of local exceptions that are not expression exceptions

1 file
+ 6
2
Compare changes
  • Side-by-side
  • Inline
@@ -262,11 +262,15 @@ namespace armarx::armem::common::robot_state::localization
}
catch (const ::armarx::exceptions::local::ExpressionException& ex)
{
ARMARX_WARNING << "local exception: " << ex.what();
ARMARX_WARNING << "Local expression exception: " << ex.what();
}
catch (const ::armarx::LocalException& ex)
{
ARMARX_WARNING << "Local exception: " << ex.what();
}
catch (...)
{
ARMARX_WARNING << "Error: " << GetHandledExceptionString();
ARMARX_WARNING << "Unexpected error: " << GetHandledExceptionString();
}
return {};
Loading