Bug #23174
Print the message of STL exceptions
Start date:
08/26/2019
Due date:
% Done:
100%
Estimated time:
Occurs In:
Scope:
Internal
Experiment:
-
SSI Package:
art
Description
My collaborator witnessed the following exception message:
%MSG-s ArtException: PostEndJob 26-Aug-2019 14:10:01 CDT ModuleEndJob cet::exception caught in art ---- OtherArt BEGIN ---- EventProcessorFailure BEGIN EventProcessor: an exception occurred during current event processing ---- EventProcessorFailure BEGIN EndPathExecutor: an exception occurred during current event processing ---- ScheduleExecutionFailure BEGIN Path: ProcessingStopped. ---- StdException BEGIN A exception occurred during a call to the module ---- StdException END Exception going through path end_path ---- ScheduleExecutionFailure END ---- EventProcessorFailure END ---- EventProcessorFailure END ---- OtherArt END %MSG
with the precious information that A exception occurred during a call to the module.
It turns out that was a
std::length_error
exception.It would help if the message had specified
what()
the exception was (after all, it's derived from std::exception
, so it should be able to tell), and maybe the actual type of the exception (std::length_error
).I don't exclude that the output was printed somewhere else in the log, but even if so, it was surely not as prominent as in this 5-level-indented message.
Related issues
History
#1 Updated by Kyle Knoepfel over 1 year ago
- Status changed from New to Feedback
Gianluca, which version of art are you using?
#2 Updated by Gianluca Petrillo over 1 year ago
I believe it was art version v3_02_06
.
#3 Updated by Christopher Green over 1 year ago
- Status changed from Feedback to Accepted
#4 Updated by Kyle Knoepfel about 1 year ago
- Related to Bug #22995: module instance and class name missing in exception printing added
#5 Updated by Kyle Knoepfel about 1 year ago
- % Done changed from 0 to 100
- Target version set to 3.04.00
- Assignee set to Kyle Knoepfel
- Status changed from Accepted to Resolved
- Tracker changed from Feature to Bug
- Occurs In 3.02.06 added
- SSI Package art added
Resolved with commit art:c78744d5, implemented while resolving issue #22995.
#6 Updated by Kyle Knoepfel about 1 year ago
- Status changed from Resolved to Closed