From 00c939f2c41183af534c198e225ced6ce30d4a41 Mon Sep 17 00:00:00 2001 From: Aaron Klinker Date: Mon, 17 Jul 2023 16:48:12 -0500 Subject: [PATCH] Add more details to addon validation error --- src/stores/edge-addon-store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/edge-addon-store.ts b/src/stores/edge-addon-store.ts index 3534f5c..0261f3f 100644 --- a/src/stores/edge-addon-store.ts +++ b/src/stores/edge-addon-store.ts @@ -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)}`); } else { this.log('Extension is valid: ' + operation.message); }