spatie / laravel-ray

Debug with Ray to fix problems faster in Laravel apps
https://myray.app
MIT License
291 stars 64 forks source link

Error in production when using emailOutputOnFailure #186

Closed ObaydaAlesawi closed 2 years ago

ObaydaAlesawi commented 3 years ago

Describe the bug I tried to use emailOutputOnFailure on command, then this issue appear on flare, I tried even to set RAY_ENABLED to false, but nothing happened also

You can use composer show to get the version numbers of:

PHP version:7.4 Laravel version:8.31

To Reproduce Steps to reproduce the behavior:

  1. Install laravel-ray
  2. create new command and register it in the Kernel
  3. set emailOutputOnFailure function for that command

Flare link for the bug https://flareapp.io/share/Lm8pNzpm#F47

freekmurze commented 3 years ago

Does is work for you, if you change this line to

string $html = null
spatie-bot commented 2 years ago

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.