Skip to content

Commit

Permalink
smallFix
Browse files Browse the repository at this point in the history
  • Loading branch information
ircfspace committed Mar 2, 2024
1 parent b4a38fb commit ef7eafb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useIPScanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export const useIPScanner = ({ allIps }: IPScannerProps) => {
testCount++;
} catch (error) {
// don't increase testResult if it's not an abort error
if (!(error instanceof Error && error.name === "AbortError")) {
if (!(error instanceof Error && (error.name === "AbortError" || error.name === "TypeError"))) {
testCount++;
}
}
Expand Down

0 comments on commit ef7eafb

Please sign in to comment.