Project

General

Profile

Bug #23174

Print the message of STL exceptions

Added by Gianluca Petrillo 4 months ago. Updated about 1 month ago.

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

100%

Estimated time:
Occurs In:
Scope:
Internal
Experiment:
-
SSI Package:
art
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.


Related issues

Related to art - Bug #22995: module instance and class name missing in exception printingClosed07/25/2019

History

#1 Updated by Kyle Knoepfel 3 months ago

  • Status changed from New to Feedback

Gianluca, which version of art are you using?

#2 Updated by Gianluca Petrillo 2 months ago

I believe it was art version v3_02_06.

#3 Updated by Christopher Green 2 months ago

  • Status changed from Feedback to Accepted

#4 Updated by Kyle Knoepfel about 1 month ago

  • Related to Bug #22995: module instance and class name missing in exception printing added

#5 Updated by Kyle Knoepfel about 1 month 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 month ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF