Skip to content

Commit

Permalink
Fix code scanning alert no. 2: Use of externally-controlled format st…
Browse files Browse the repository at this point in the history
…ring (#976)

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 1f3a6eb commit 2443bb9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/api/hooks/useGetANS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ async function genANSName(
}
} catch (error) {
console.error(
`ERROR! Couldn't find ANS name for ${address} on ${networkName}`,
"ERROR! Couldn't find ANS name for %s on %s",
address,
networkName,
error,
typeof error,
);
Expand Down

0 comments on commit 2443bb9

Please sign in to comment.