-
Notifications
You must be signed in to change notification settings - Fork 38
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
Exception line/file of where thrown plus add shortcut to composer for running tests with `composer test #148
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable to me. I've requested a review from one of the Raygun team too.
Thanks for taking a look @robbieaverill , we'll get this released this week 👍 |
Hi @treehousetim, thanks for submitting this! During testing I noticed that
Are you able to update this to work for both |
Is there a test for this? I ran the test and none of them caught this. |
I encountered it via manual testing, but upon running the tests on your branch I do see the
|
I'll look at this and submit a fix. Thanks! |
refactor to support both errorException and exception for reporting
running test automatically when a pull request is opened or code is pushed to master
@Deacon-McIntyre I took another look at this. Running the tests revealed the defect you mentioned. I've also added a github action on this repo that will automatically install composer and run tests for code push and pull request opening. should add a nice safety net and a self-help workflow to PRs thanks! |
Hi @treehousetim , thanks for making those changes, and adding a GitHub action! I can confirm the tests all pass on my end. However, when manually testing (plain PHP and HTML app, no frameworks), the errors I get coming through to Raygun have a
Does this happen for you too? Are you able to have another look and see why it might be happening? |
@Deacon-McIntyre - fixed. |
It would be ideal to have a test to ensure there are no empty entries for the stack trace so I've added one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your efforts here @treehousetim!
Hi @Deacon-McIntyre , what's the release cadence for a change like this? |
@treehousetim If not today it will be out next week |
easier unit test running. instead of vendor/bin/phpunit
add more complete exception payload to message
Fixes #147