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 {
6868 }
6969 this . logService . info ( `Extension signature verification: ${ extension . identifier . id } . Verification status: ${ verificationStatus } .` ) ;
7070 } catch ( error ) {
71- const code : string = ( error as ExtensionSignatureVerificationError ) . code ;
71+ const sigError = error as ExtensionSignatureVerificationError ;
72+ const code : string = sigError . code ;
7273
7374 if ( code === 'UnknownError' ) {
7475 verificationStatus = ExtensionVerificationStatus . UnknownError ;
7576 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 } )` ) ;
7679 } else {
7780 await this . delete ( signatureArchiveLocation ) ;
7881 await this . delete ( location ) ;
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ declare module vsceSign {
3434 */
3535export interface ExtensionSignatureVerificationError extends Error {
3636 readonly code : string ;
37+ readonly didExecute : boolean ;
3738}
3839
3940export class ExtensionSignatureVerificationService implements IExtensionSignatureVerificationService {
You can’t perform that action at this time.
0 commit comments