Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
processor-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OZG-Cloud
app
processor-manager
Commits
fcc93182
"...libs/vorgang-shared/src/lib/vorgang.service.spec.ts" did not exist on "2ddd55ad0e2dfb3c84ff9b7a9369580f98d9da6c"
Commit
fcc93182
authored
1 year ago
by
OZGCloud
Browse files
Options
Downloads
Patches
Plain Diff
catch error on handling error
parent
e3434a5e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/ozgcloud/processor/processor/ProcessorEventListener.java
+7
-2
7 additions, 2 deletions
.../ozgcloud/processor/processor/ProcessorEventListener.java
with
7 additions
and
2 deletions
src/main/java/de/ozgcloud/processor/processor/ProcessorEventListener.java
+
7
−
2
View file @
fcc93182
...
...
@@ -5,6 +5,7 @@ import java.util.Collections;
import
java.util.function.Predicate
;
import
org.apache.commons.collections.MapUtils
;
import
org.apache.commons.lang3.exception.ExceptionUtils
;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnProperty
;
import
org.springframework.context.ApplicationEventPublisher
;
import
org.springframework.context.event.EventListener
;
...
...
@@ -88,8 +89,12 @@ class ProcessorEventListener {
}
private
void
handleError
(
Throwable
cause
,
String
vorgangId
)
{
try
{
LOG
.
error
(
"Error on procession Vorgang {} externally"
,
vorgangId
,
cause
);
resultService
.
processError
(
cause
,
vorgangId
);
}
catch
(
RuntimeException
e
)
{
LOG
.
error
(
"Error on processing error: "
+
ExceptionUtils
.
getRootCauseMessage
(
e
),
e
);
}
}
void
publishCommandProcessedEvent
(
Command
command
)
{
...
...
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