Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Apd Toolbox
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Jan Reher
Apd Toolbox
Commits
685a9659
Commit
685a9659
authored
4 years ago
by
Jan Reher
Browse files
Options
Downloads
Patches
Plain Diff
Fixed problem with exception handling
parent
3341e461
No related branches found
Branches containing commit
No related tags found
2 merge requests
!4
Many proven updates being brought into stable branch.
,
!3
Commented in the lines in apdUnitCreator.cpp that do the actual database
Pipeline
#1604
failed with stages
in 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apdUnitCreator.cpp
+1
-1
1 addition, 1 deletion
apdUnitCreator.cpp
with
1 addition
and
1 deletion
apdUnitCreator.cpp
+
1
−
1
View file @
685a9659
...
...
@@ -54,7 +54,7 @@ int main(int argc, char* argv[]) {
std
::
string
capsuleSerial
=
newUnit
->
blueSerial
+
"/"
+
newUnit
->
redSerial
;
proddb
->
createApdUnit
(
capsuleSerial
,
newUnit
->
crystalSerial
,
newUnit
->
barCode
);
}
catch
(
std
::
exception
e
)
{
catch
(
std
::
exception
&
e
)
{
nFailed
++
;
std
::
cerr
<<
"An error occurred on APD paid with red APD "
<<
newUnit
->
redSerial
<<
" and blue APD "
<<
newUnit
->
blueSerial
<<
"!"
<<
std
::
endl
;
std
::
cerr
<<
e
.
what
()
<<
std
::
endl
<<
std
::
endl
;
...
...
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