Files
directus/packages
Connor 34acd97a01 Fix Flow Error Handling (#17519)
* 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>
2023-03-15 08:29:55 +00:00
..
2023-03-01 09:51:57 -05:00
2023-03-01 09:51:57 -05:00
2023-03-01 09:51:57 -05:00
2023-03-15 08:29:55 +00:00
2023-03-01 09:51:57 -05:00
2023-03-01 09:51:57 -05:00
2023-03-01 09:51:57 -05:00
2023-03-01 09:51:57 -05:00
2023-03-01 09:51:57 -05:00
2023-03-01 09:51:57 -05:00
2023-03-01 09:51:57 -05:00
2023-03-01 09:51:57 -05:00