contributte / apitte-skeleton

🎁 API / REST API / JSON API / PSR-7 / Middlewares project skeleton based on Nette Framework (@nette), Apitte (@apitte), Doctrine (@nettrine) and Contributte (@contributte) libraries by @f3l1x.
https://examples.contributte.org/apitte-skeleton/
MIT License
40 stars 17 forks source link

Error logging not working #664

Open lukasbruha opened 5 months ago

lukasbruha commented 5 months ago

Same behavior as described on https://forum.nette.org/cs/33974-apitte-skeleton-nelogguje-errory-a-jen-zobrazi-error-500 or https://forum.nette.org/cs/34583-apitte-debugovani-a-logovani - info + debug works but error/exception not. So there is no possiblity to debug anything when exception raises during API calls.

f3l1x commented 5 months ago
image

http://localhost:8000/api/v1/error/exception?_access_token=admin

f3l1x commented 5 months ago

I've updated example take a look here https://github.com/contributte/apitte-skeleton/commit/a1319c1e955284bba96dee5623b4390a76a30db1