-
Notifications
You must be signed in to change notification settings - Fork 10
feat: set requestId if not provided, log requestId on low level excep… #118
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
base: master
Are you sure you want to change the base?
Conversation
...api-commons/src/main/java/com/smartling/api/v2/client/exception/RestApiRuntimeException.java
Show resolved
Hide resolved
...api-commons/src/main/java/com/smartling/api/v2/client/exception/RestApiRuntimeException.java
Show resolved
Hide resolved
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.
The idea of the fake response doesn't look good. Perhaps because of the name. But I couldn't make a better proposal.
I copied it from WebApplicationException (parent of our RestApiException), just include additional header. |
...api-commons/src/main/java/com/smartling/api/v2/client/exception/RestApiRuntimeException.java
Outdated
Show resolved
Hide resolved
smartling-api-commons/src/main/java/com/smartling/api/v2/client/DefaultRequestIdFilter.java
Outdated
Show resolved
Hide resolved
c70ae37
to
9e449b1
Compare
No description provided.