the code:
Route::get('/donor/home/{donorId?}', ['as' => 'caup_donor_home', function (Request $request, $donorId = null) {
Log::warning('LUKAS ACCESSING xxx');
throw new CaupGeneralException("bippo");
}]);
it only shows once, if there is no 500.
the log showing TWO errors. Not one.
[2017-02-02 22:23:17] local.WARNING: LUKAS ACCESSING xxx
[2017-02-02 22:23:17] local.ERROR: Caup\Cmc\Exceptions\CaupGeneralException: bippo in /var/www/html/http://ift.tt/2k7dyuO Stack trace: 0 /var/www/html/http://ift.tt/2k21NUf: Caup\Providers\RouteServiceProvider->{closure}(Object(Illuminate\Http\Request)) 1 /var/www/html/http://ift.tt/2k7axKV: Illuminate\Routing\Route->runCallable() 2 /var/www/html/http://ift.tt/2k1VNup: Illuminate\Routing\Route->run(Object(Illuminate\Http\Request)) ..[2017-02-02 22:23:17] local.WARNING: LUKAS ACCESSING xxx
[2017-02-02 22:23:17] local.ERROR: Caup\Cmc\Exceptions\CaupGeneralException: bippo in /var/www/html/http://ift.tt/2k7dyuO Stack trace: 0 /var/www/html/http://ift.tt/2k21NUf: Caup\Providers\RouteServiceProvider->{closure}(Object(Illuminate\Http\Request)) 1 /var/www/html/http://ift.tt/2k7axKV: Illuminate\Routing\Route->runCallable() 2 /var/www/html/http://ift.tt/2k1VNup: Illuminate\Routing\Route->run(Object(Illuminate\Http\Request)) ..
my nginx configuration:
location ~ /caup_api {
try_files /caup_api/$uri /caup_api/$uri/ /caup_api/index.php?q=$uri&$args;
}
caup_api is a softlink to a subfolder. So i direct subfolder calls only there
is it because of the nginx configuration? what should I change?
does e.g. try_files try out once, and if fails with 500, call just next in line?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2k7pkVZ
via IFTTT
Aucun commentaire:
Enregistrer un commentaire