Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHodgson committed Oct 3, 2024
1 parent ded30b8 commit 6d82830
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33341,7 +33341,7 @@ async function exchangeToken(accessToken) {
ignoreReturnCode: true
});
if (returnCode !== 0) {
throw new Error(`Failed to exchange the token!\n${output}`);
throw new Error(`Failed to exchange the token!\n[${returnCode}] ${output}`);
}
let json;
try {
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ async function exchangeToken(accessToken: string): Promise<[string, string]> {
ignoreReturnCode: true
});
if (returnCode !== 0) {
throw new Error(`Failed to exchange the token!\n${output}`);
throw new Error(`Failed to exchange the token!\n[${returnCode}] ${output}`);
}
let json: any;
try {
Expand Down

0 comments on commit 6d82830

Please sign in to comment.