Skip to content

Commit

Permalink
fix: jwt grant error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Dec 8, 2020
1 parent e96e4dc commit 010058f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/auth/jwt/grant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default class Grant extends SfdxCommand {
oauth2Options,
});
} else {
throw SfdxError.create('@salesforce/plugin-auth', 'jwt.grant', 'JwtGrantError', [err.message]);
throw err;
}
}
await authInfo.save();
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"moduleResolution": "node",
"noImplicitAny": true,
"outDir": "lib",
"rootDir": "src",
"preserveConstEnums": true,
"strict": true,
// We can replace the TS generated snippets with require statements
Expand Down

0 comments on commit 010058f

Please sign in to comment.