Skip to content
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

Merge pull request #2905 from jrudolph/improve-outgoing-request-stream-error #2905

Merged

Conversation

jrudolph
Copy link
Member

@jrudolph jrudolph commented Jan 23, 2020

  • now only logged as debug, the reasoning is that the error can be propagated
    to the response side and doesn't need to be logged as prominently
  • added the exception message to the message, the reasoning is that otherwise
    a stack trace will be logged but often only in the next line so it might get
    lost in a simple grep

It's different for response stream errors on the server side: in that case the server is already done with the response and cannot handle any error happening during streaming out the response. There, the best way might actually be to log an error.

@akka-ci akka-ci added validating PR that is currently being validated by Jenkins needs-attention Indicates a PR validation failure (set by CI infrastructure) and removed validating PR that is currently being validated by Jenkins labels Jan 23, 2020
@akka-ci
Copy link

akka-ci commented Jan 23, 2020

Test FAILed.

!!! Couldn't read commit file !!!

 * now only logged as debug, the reasoning is that the error can be propagated
   to the response side and doesn't need to be logged as prominently
 * added the exception message to the message, the reasoning is that otherwise
   a stack trace will be logged but often only in the next line so it might get
   lost in a simple grep
@jrudolph jrudolph force-pushed the improve-outgoing-request-stream-error branch from afc1896 to ea749d5 Compare January 23, 2020 11:02
@akka-ci akka-ci added validating PR that is currently being validated by Jenkins tested PR that was successfully built and tested by Jenkins and removed needs-attention Indicates a PR validation failure (set by CI infrastructure) validating PR that is currently being validated by Jenkins labels Jan 23, 2020
@akka-ci
Copy link

akka-ci commented Jan 23, 2020

Test PASSed.

@jrudolph jrudolph requested a review from raboof January 23, 2020 12:45
@jrudolph jrudolph changed the title core: silence outgoing request stream error (and make it more useful) Merge pull request #2905 from jrudolph/improve-outgoing-request-stream-error Jan 23, 2020
@jrudolph jrudolph merged commit b8cc8ae into akka:master Jan 23, 2020
@jrudolph jrudolph deleted the improve-outgoing-request-stream-error branch January 23, 2020 13:38
@jrudolph jrudolph added this to the 10.2.0 milestone Jan 23, 2020
@raboof raboof modified the milestones: 10.2.0, 10.2.0-M1 Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-backport tested PR that was successfully built and tested by Jenkins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants