Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
scdaq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
scouting-demonstrator
scdaq
Commits
a9c0f2a9
Commit
a9c0f2a9
authored
2 years ago
by
Dinyar Rabady
Browse files
Options
Downloads
Patches
Plain Diff
Catch the right exception for config errors
This originally belonged to
#15
.
parent
e47e6c62
No related branches found
Branches containing commit
No related tags found
2 merge requests
!59
CMSSW json file
,
!40
Catch the right exception for config errors
Pipeline
#4648906
passed
2 years ago
Stage: build
Stage: run
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/scdaq.cc
+2
-2
2 additions, 2 deletions
src/scdaq.cc
with
2 additions
and
2 deletions
src/scdaq.cc
+
2
−
2
View file @
a9c0f2a9
...
...
@@ -205,10 +205,10 @@ if(argc < 2){
// utility::report_elapsed_time((tbb::tick_count::now() - mainStartTime).seconds());
return
retval
;
}
catch
(
std
::
exception
&
e
)
{
}
catch
(
std
::
invalid_argument
&
e
)
{
LOG
(
FATAL
)
<<
"Configuration invalid! Error text is
\"
"
<<
e
.
what
()
<<
"
\"
Bailing out."
;
return
EX_CONFIG
;
}
catch
(
std
::
exception
&
e
)
{
}
catch
(
std
::
exception
&
e
)
{
LOG
(
ERROR
)
<<
"Error occurred. error text is:
\"
"
<<
e
.
what
()
<<
"
\"
"
;
return
1
;
}
...
...
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