Skip to content

Commit

Permalink
Add more details to addon validation error
Browse files Browse the repository at this point in the history
  • Loading branch information
aklinker1 committed Jul 17, 2023
1 parent f6c025d commit 00c939f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/edge-addon-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class EdgeAddonStore implements IStore {
} while (operation.status === 'InProgress');

if (operation.status === 'Failed') {
throw Error(`Validation failed: ${operation.message}`);
throw Error(`Validation failed: ${JSON.stringify(null, 2, operation)}`);

Check failure on line 81 in src/stores/edge-addon-store.ts

View workflow job for this annotation

GitHub Actions / E2E Publish Test

No overload matches this call.

Check failure on line 81 in src/stores/edge-addon-store.ts

View workflow job for this annotation

GitHub Actions / Verify Code

No overload matches this call.
} else {
this.log('Extension is valid: ' + operation.message);
}
Expand Down

0 comments on commit 00c939f

Please sign in to comment.