Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Paul Gessinger
athena
Commits
7586a732
Commit
7586a732
authored
7 years ago
by
Frank Winklmeier
Browse files
Options
Downloads
Patches
Plain Diff
EventFormatMetaDataTool: Fix usage of StatusCode
REPORT_MESSAGE expects a StatusCode as argument and not a message level.
parent
326a7245
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Event/xAOD/xAODEventFormatCnv/src/EventFormatMetaDataTool.cxx
+6
-4
6 additions, 4 deletions
...t/xAOD/xAODEventFormatCnv/src/EventFormatMetaDataTool.cxx
with
6 additions
and
4 deletions
Event/xAOD/xAODEventFormatCnv/src/EventFormatMetaDataTool.cxx
+
6
−
4
View file @
7586a732
...
...
@@ -69,8 +69,9 @@ namespace xAODMaker {
StatusCode
EventFormatMetaDataTool
::
beginInputFile
()
{
if
(
collectMetaData
().
isFailure
()
)
{
REPORT_ERROR
(
MSG
::
FATAL
)
StatusCode
sc
=
collectMetaData
();
if
(
sc
.
isFailure
()
)
{
REPORT_ERROR
(
sc
)
<<
"Failed to collect metadata from the input file"
;
throw
std
::
runtime_error
(
"Failed to collect trigger configuration "
"metadata from the input"
);
...
...
@@ -87,8 +88,9 @@ namespace xAODMaker {
StatusCode
EventFormatMetaDataTool
::
metaDataStop
()
{
if
(
writeMetaData
().
isFailure
()
)
{
REPORT_ERROR
(
MSG
::
FATAL
)
StatusCode
sc
=
writeMetaData
();
if
(
sc
.
isFailure
()
)
{
REPORT_ERROR
(
sc
)
<<
"Failed to write metadata to the output store"
;
throw
std
::
runtime_error
(
"Failed write xAOD::EventFormat "
"to the output"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment