Skip to content

Commit

Permalink
deep scan
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishankoradia committed Jul 11, 2023
1 parent 4290532 commit 9a8e333
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Connections/Connections.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,10 @@ export const Connections = () => {
if (response?.detail) errorToast(response.detail, [], toastContext);

// if flow run id is not present, something went wrong
if (!response?.flow_run_id)
if (!response?.flow_run_id) {
errorToast('Something went wrong', [], toastContext);
return;
}

// Poll and show logs till flow run is either completed or failed
let flowRunStatus: string = await fetchFlowRunStatus(
Expand Down

0 comments on commit 9a8e333

Please sign in to comment.