Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

fix: Add exception info to log.info call #743

Merged
merged 1 commit into from
Nov 23, 2016
Merged

fix: Add exception info to log.info call #743

merged 1 commit into from
Nov 23, 2016

Conversation

jrconlin
Copy link
Member

closes #742

@@ -179,7 +179,9 @@ def _validation_err(self, fail):
exc = fail.value
self.log.info(format="Request validation error",
status_code=exc.status_code,
errno=exc.errno)
errno=exc.errno,
message=exc.message or "No message",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we probably want format="Request validation error: %s" % exc). we don't use a message kwarg for any other log calls

@codecov-io
Copy link

codecov-io commented Nov 22, 2016

Current coverage is 100% (diff: 100%)

Merging #743 into master will not change coverage

@@           master   #743   diff @@
====================================
  Files          46     46          
  Lines        9171   9171          
  Methods         0      0          
  Messages        0      0          
  Branches        0      0          
====================================
  Hits         9171   9171          
  Misses          0      0          
  Partials        0      0          

Powered by Codecov. Last update b7889d7...72d5fba

Copy link
Member

@bbangert bbangert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

@bbangert bbangert merged commit c43788c into master Nov 23, 2016
@bbangert bbangert deleted the bug/742 branch November 23, 2016 01:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Buff up logging output for processed messages
4 participants