Skip to content

Format error on exception handling - #34

Merged
frenchfrywpepper merged 1 commit into
lightstep:masterfrom
nvillalva:nvillalva/fmt-exception
Feb 22, 2018
Merged

frenchfrywpepper merged 1 commit into
lightstep:masterfrom
nvillalva:nvillalva/fmt-exception

Conversation

@nvillalva

Copy link
Copy Markdown
Contributor

Exceptions during worker flush were being swallowed and turned into IndexErrors on the format tuple in _fine. This just cleans up a couple things so the exception is surfaced

  • logging args for format should be splatted when passed
  • traceback.format_exc first arg is limit, not an exception instance

* traceback.format_exc first arg is limit, not an exception instance
* format args should be splatted

@frenchfrywpepper frenchfrywpepper left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the fix!

@frenchfrywpepper
frenchfrywpepper merged commit 28f1b40 into lightstep:master Feb 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants