diff --git a/airbyte-webapp/src/components/JobItem/JobItem.tsx b/airbyte-webapp/src/components/JobItem/JobItem.tsx index bd1d91d3c54a..9c7d8a542b00 100644 --- a/airbyte-webapp/src/components/JobItem/JobItem.tsx +++ b/airbyte-webapp/src/components/JobItem/JobItem.tsx @@ -46,7 +46,10 @@ const JobCurrentLogs: React.FC<{ }; const isPartialSuccessCheck = (attempts: Attempt[]) => { - if (attempts[attempts.length - 1].status === Status.FAILED) { + if ( + attempts.length > 0 && + attempts[attempts.length - 1].status === Status.FAILED + ) { return attempts.some( (attempt) => attempt.failureSummary && attempt.failureSummary.partialSuccess