You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an exception occurs, for example a custom operation-handler returns a wrong object type, the resulting 500 response is missing CORS headers. If the requesting front-end is running under another domain (e.g. during development http://localhost:8080/), the whole response incl. a possible error message is hided by the browser, which makes it very difficult to debug.
Possible solution: Also responses from the exception catch() blocks in SourceBroker\T3api\Dispatcher\Bootstrap::process() should call the processors $this->callProcessors(). Maybe this applies only for exceptions from the catch (Throwable $throwable) block.
The text was updated successfully, but these errors were encountered:
If an exception occurs, for example a custom operation-handler returns a wrong object type, the resulting 500 response is missing CORS headers. If the requesting front-end is running under another domain (e.g. during development
http://localhost:8080/
), the whole response incl. a possible error message is hided by the browser, which makes it very difficult to debug.Possible solution: Also responses from the exception
catch()
blocks inSourceBroker\T3api\Dispatcher\Bootstrap::process()
should call the processors$this->callProcessors()
. Maybe this applies only for exceptions from thecatch (Throwable $throwable)
block.The text was updated successfully, but these errors were encountered: