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

improve object handling #108

Merged
merged 1 commit into from
Mar 28, 2016
Merged

improve object handling #108

merged 1 commit into from
Mar 28, 2016

Conversation

ezarowny
Copy link
Contributor

Objects that appear to be a namedtuple, like SQLAlchemy's NamedTuple and KeyedTuple, could cause Exceptions while identifying them if they don't implement the _make method.

Addresses #103.

@ezarowny
Copy link
Contributor Author

@coryvirok thoughts?

@coryvirok
Copy link
Contributor

LGTM

@ezarowny ezarowny merged commit 99e1219 into master Mar 28, 2016
@ezarowny ezarowny deleted the improve-object-handling branch March 28, 2016 21:17
return handler(obj, key=key)
except:
# use the default handler for unknown object types
log.exception("Exception while processing Rollbar Item. "
Copy link
Member

Choose a reason for hiding this comment

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

This error message doesn't seem very informative... if I see this in my logs, I don't know if it's a problem or not, what I should do, etc.

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