Project

General

Profile

Feature #23174

Print the message of STL exceptions

Added by Gianluca Petrillo about 2 months ago. Updated 12 days ago.

Status:
Accepted
Priority:
Normal
Assignee:
-
Category:
Infrastructure
Target version:
-
Start date:
08/26/2019
Due date:
% Done:

0%

Estimated time:
Scope:
Internal
Experiment:
-
SSI Package:
Duration:

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.

History

#1 Updated by Kyle Knoepfel about 2 months ago

  • Status changed from New to Feedback

Gianluca, which version of art are you using?

#2 Updated by Gianluca Petrillo 18 days ago

I believe it was art version v3_02_06.

#3 Updated by Christopher Green 12 days ago

  • Status changed from Feedback to Accepted


Also available in: Atom PDF