-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Present Error Handling Job #1204
Conversation
Signed-off-by: Bassam Riman <bassam.riman@iohk.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything that I look seems good
Can we merge this quickly because I wanted to see if it helps with compilation. Or I can also just continue my work in top of the PR while you finalize it.
.tapError({ | ||
(error: PresentationError | DIDSecretStorageError | BackgroundJobError | CredentialServiceError | | ||
CastorDIDResolutionError | GetManagedDIDError | TransportError) => | ||
ZIO.logErrorCause( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems we have error log in several places.
Just make sure we are not double logging
// case te: TransportError => new RuntimeException(te) | ||
case ex: IOException => ex | ||
case ex: Throwable => ex | ||
|
||
sealed trait MercuryError |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I extended org.hyperledger.identus.shared.models.Failure
on my PR.
Or are you also doing that on your next PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, step-by-step... 👌
LGTM I have tested the end to end scenarios |
Signed-off-by: Bassam Riman <bassam.riman@iohk.io>
Integration Test Results14 files 14 suites 2s ⏱️ Results for commit 73516b2. |
https://input-output.atlassian.net/browse/ATL-7264