You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found in my case, I have a large bootstrap file that's somewhat complex, and the output I got was:
./vendor/bin/phpunit --bootstrap system/bootstrap.php testing
PHPUnit 9.5.13 by Sebastian Bergmann and contributors.
Error in bootstrap script: Error:
Call to a member function query() on null
Given the complexity, this still wasn't too useful in tracing down the issue until I went in and manually added a stack trace to the error output.
Is there a reason to omit a stack trace? If not, I will happily open a PR to add it!
The text was updated successfully, but these errors were encountered:
Hey there, I noticed there was a recent commit that added some helpful debug info when the bootstrap script fails:
ef1b6b1
I found in my case, I have a large bootstrap file that's somewhat complex, and the output I got was:
Given the complexity, this still wasn't too useful in tracing down the issue until I went in and manually added a stack trace to the error output.
Is there a reason to omit a stack trace? If not, I will happily open a PR to add it!
The text was updated successfully, but these errors were encountered: