maybe it is an application error, so have you checked the storage/logs/laravel.log or whichever channel you use?
Dec 8, 2021
2
Level 2
Command creates Exception, but Exception is not visible
Hey there, I use forge for a non Laravel application and the scheduler in forge to trigger a command on the server. The command, which runs looks like this:
CRON (forge) CMD (php /home/forge/domain.com/current/bin/console subscription:mail > /home/forge/.forge/scheduled-649387.log 2>&1)
Now it happened, that the code, which is triggered by the command, creates a php exception. I saw it because I debugged it locally. However on the server - in the nginx error logs nor in the scheduled-649387.log there is no exception listed.
Does anybody has an idea why the exception is not written into one of these log files?
Please or to participate in this conversation.