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

Format stack frame as string #184

Merged
merged 2 commits into from
Apr 9, 2018
Merged

Format stack frame as string #184

merged 2 commits into from
Apr 9, 2018

Conversation

kolanos
Copy link
Contributor

@kolanos kolanos commented Apr 6, 2018

Closes #183

Signed-off-by: Michael Lavers [email protected]

Closes iopipe#183

Signed-off-by: Michael Lavers <[email protected]>
@@ -66,6 +66,7 @@ def test_erroring(mock_send_report, handler_that_errors, mock_context):

assert iopipe.report.report['errors']['name'] == 'ValueError'
assert iopipe.report.report['errors']['message'] == 'Behold, a value error'
assert isinstance(iopipe.report.report['errors']['stack'], str)
Copy link
Contributor

Choose a reason for hiding this comment

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

Question: Did this test fail before you added your code that fixes it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, it did not fail before. It is just an assertion that should be true.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@pselle Did that answer your question?

@kolanos kolanos merged commit d05d58c into iopipe:master Apr 9, 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.

2 participants