Skip to content

Commit

Permalink
tidy exit options
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbutongit committed Jul 11, 2024
1 parent 515c410 commit 87e1584
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ export class ExitOptions {
}

if (!config.safelist.includes(urlHostname)) {
logger.error(
`${propName} (${url}) is not on the allowlist, only ${config.safelist} are allowed`
);
logger.error(`${propName} (${url}) is not on the allowlist`);
throw new Error(`${propName} (${url}) is not on the allowlist`);
}

Expand Down

0 comments on commit 87e1584

Please sign in to comment.