Skip to content

Commit

Permalink
Tweaked error URLs (ethers-io#2489).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo authored and Woodpile37 committed Jan 14, 2024
1 parent 0995d36 commit 49f7269
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/logger/src.ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,9 @@ export class Logger {
const fault = message;

switch (fault) {
case "overflow": case "underflow":
case "overflow": case "underflow": case "division-by-zero":
url += "-" + fault;
break;
case "division-by-zero": case "negative-modulo":
url += "-undefined";
break;
case "negative-power": case "negative-width":
url += "-unsupported";
break;
Expand Down

0 comments on commit 49f7269

Please sign in to comment.