File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
src/vs/platform/extensionManagement/node Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -68,11 +68,14 @@ export class ExtensionsDownloader extends Disposable {
68
68
}
69
69
this . logService . info ( `Extension signature verification: ${ extension . identifier . id } . Verification status: ${ verificationStatus } .` ) ;
70
70
} catch ( error ) {
71
- const code : string = ( error as ExtensionSignatureVerificationError ) . code ;
71
+ const sigError = error as ExtensionSignatureVerificationError ;
72
+ const code : string = sigError . code ;
72
73
73
74
if ( code === 'UnknownError' ) {
74
75
verificationStatus = ExtensionVerificationStatus . UnknownError ;
75
76
this . logService . warn ( `Extension signature verification: ${ extension . identifier . id } . Verification status: ${ verificationStatus } .` ) ;
77
+ } else if ( ! sigError . didExecute ) {
78
+ this . logService . warn ( `Extension signature verification: ${ extension . identifier . id } . Verification status: ${ verificationStatus } (${ code } )` ) ;
76
79
} else {
77
80
await this . delete ( signatureArchiveLocation ) ;
78
81
await this . delete ( location ) ;
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ declare module vsceSign {
34
34
*/
35
35
export interface ExtensionSignatureVerificationError extends Error {
36
36
readonly code : string ;
37
+ readonly didExecute : boolean ;
37
38
}
38
39
39
40
export class ExtensionSignatureVerificationService implements IExtensionSignatureVerificationService {
You can’t perform that action at this time.
0 commit comments