Skip to content

Commit

Permalink
chore: use Error object for throwing an error related to invalid exte…
Browse files Browse the repository at this point in the history
…nsion name
  • Loading branch information
rabi-siddique authored Feb 28, 2024
1 parent 83c7629 commit 61f7a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = (on, config) => {
} else if (extension === 'keplr') {
selectedConfig = require('./keplr-plugin');
} else {
throw new InvalidInputException(
throw new Error(
`${extension} is not a valid extension name`,
);
}
Expand Down

0 comments on commit 61f7a96

Please sign in to comment.