mirror of
https://github.com/directus/directus.git
synced 2026-01-23 23:57:55 -05:00
* Validate Operation Result is Serializable
* Enumerate Flow Error Object so it gets logged
* Add ability for error to be a JSON string and parse it
* Make the request operation throw useful error
* Revert DockerCompose in "Validate Operation Result is Serializable"
This partially reverts commit c7e76716a5.
* Fix Typescript Errors
* Move isValidJSON to Shared Util and add Tests
* return the error message excluding stack trace
* allow for non-exception errors
* Apply suggestions from code review
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
* Clean-up after wrong suggestion
* Clean-up processing of error data
* Use content-type json if body is object
* Reformat error data check
---------
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Brainslug <tim@brainslug.nl>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
@directus/shared
Code shared between all directus packages.