Updated the logic for assembling the Exception message
Saw this in the error log:
cli_1 | [31-Aug-2020 08:36:06] WARNING: [pool www] child 36 said into stderr: "NOTICE: PHP message: Error: Wrong parameters for Exception([string $message [, long $code [, Throwable $previous = NULL]]]) in /var/www/site/_composer/custom-d/zon-laravel/src/Controller/Contracts/LaravelApiAuth.php:51"
I have updated the line based on my read of it, that you intended to create a message that included the originally-thrown Exception's message. Also removed the error_log()
call.