Skip to content

Commit

Permalink
fix: other error status
Browse files Browse the repository at this point in the history
  • Loading branch information
iamjoel committed Jun 7, 2024
1 parent 6e86c73 commit 8e8418c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const FireCrawl: FC<Props> = ({
},
}
}
if (res.status === 'error') {
if (res.status === 'error' || !res.status) {
// can't get the error message from the firecrawl api
return {
isError: true,
Expand Down

0 comments on commit 8e8418c

Please sign in to comment.