From 5cc1afa6de8c194fa179180638058a81fb6ff048 Mon Sep 17 00:00:00 2001 From: Faruk AYDIN Date: Sat, 19 Nov 2022 13:34:43 +0100 Subject: [PATCH] docs: Add explanation of automatic error handling for http client --- packages/docs/pages/build-integrations/global-variable.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/docs/pages/build-integrations/global-variable.md b/packages/docs/pages/build-integrations/global-variable.md index 7da79581..e45c930d 100644 --- a/packages/docs/pages/build-integrations/global-variable.md +++ b/packages/docs/pages/build-integrations/global-variable.md @@ -72,6 +72,8 @@ await $.http.get('/v1/images/search?order=DESC', { }); ``` +Keep in mind that the HTTP client handles the error with the status code that falls out of the range of 2xx. So, you don't need to handle the error manually. It will be processed with the error message or error payload that you can check on the execution details page in Automatisch. + ## $.step.parameters ```typescript