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

Add formatted exception #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EvaSDK
Copy link
Contributor

@EvaSDK EvaSDK commented Aug 5, 2014

This is a prototype for adding structured exception to a FluentRecordFormatter formatted message.
I am not sure yet if this is any useful and it is not exactly the cleanest way to add custom attributes to a record but this might be useful for someone.

@EvaSDK
Copy link
Contributor Author

EvaSDK commented Aug 5, 2014

This is based on MR #18 so the only interesting commit is the last one.

@ngiallelis
Copy link
Contributor

Hi @EvaSDK! We can use logging.exc_text for formatted exception. As I mentioned in #38.

@EvaSDK
Copy link
Contributor Author

EvaSDK commented Jun 23, 2015

@ngiallelis, well the idea of using fluent is to keep structured log where possible, hence the use of traceback.extract_tb instead of pure text.

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.

None yet

2 participants