-
Notifications
You must be signed in to change notification settings - Fork 16
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
Get response from commands #15
Comments
Pls, some help?, what I'm doing bad. |
I'm having the same issue. I have in a controller:
The output is always 0. When I do it at the command line it works: php artisan ami: cli 'queue show' --autoclose The above command generates the expected output. |
It looks like the output of 0 is correct in that Artisan::call is only going to return true or false depending on the success of the command. |
Yes, it looks like output 0 is correct, but when an error occurs, it never reaches the dd ($ result) statement. So what to do?, I need to know if the action was ok or not. Thx. |
I have the same that problem
);
How to fix this ? |
Nobody help ? |
The same issue still in Laravel 5.7, query taking too long and failed again of timeout.
But test from cli is working well, from cli tested
|
Hi @enniel, I don't know if I'm doing something wrong or is just an issue.
I'm running the next code:
If the conference exist $algo equals 0 and if the conference don't exist the program never reach the dd($algo) statement.
Running the command version in the CLI I get the response succes if the conference exists, but when the conference don't exist I get nothing returned :(.
P.D: Sorry for my english, trying to improve 👍
The text was updated successfully, but these errors were encountered: