fix: show an error when pre-request script fails (#1991)

* fix: show an error when pre-request script fails

* refactor: minor ui improvements

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
This commit is contained in:
Andrius Petrauskis
2021-12-02 19:44:26 +02:00
committed by GitHub
parent cc81242294
commit d24d07e420
36 changed files with 112 additions and 6 deletions

View File

@@ -689,7 +689,10 @@ export const restResponse$ = restSessionStore.subject$.pipe(
export const completedRESTResponse$ = restResponse$.pipe(
filter(
(res) =>
res !== null && res.type !== "loading" && res.type !== "network_fail"
res !== null &&
res.type !== "loading" &&
res.type !== "network_fail" &&
res.type !== "script_fail"
)
)