flownative / flow-sentry

Integration of Sentry for Neos Flow
MIT License
5 stars 5 forks source link

Correctly output error with CLI SAPI #14

Closed kdambekalns closed 2 years ago

kdambekalns commented 2 years ago

During handling of an exception in CLI mode the exception handler called $this->buildView(…), leading to an exception of type InvalidTemplateResourceException.

Now the code is aligned to the DebugExceptionHandler and calls $this->echoExceptionCli(…) instead.

Fixes flownative/beach#483