@@ -6,7 +6,7 @@ import * as path from 'path';
66import * as net from 'net' ;
77import { IConfigurationService , ITestOutputChannel } from '../../../common/types' ;
88import { createDeferred , Deferred } from '../../../common/utils/async' ;
9- import { traceLog , traceVerbose } from '../../../logging' ;
9+ import { traceError , traceLog , traceVerbose } from '../../../logging' ;
1010import { DataReceivedEvent , ExecutionTestPayload , ITestExecutionAdapter , ITestServer } from '../common/types' ;
1111import {
1212 ExecutionFactoryCreateWithEnvironmentOptions ,
@@ -154,7 +154,7 @@ export class PytestTestExecutionAdapter implements ITestExecutionAdapter {
154154 spawnOptions . extraVariables . RUN_TEST_IDS_PORT = pytestRunTestIdsPort ;
155155 } )
156156 . catch ( ( error ) => {
157- traceVerbose ( 'Error starting server:' , error ) ;
157+ traceError ( 'Error starting server:' , error ) ;
158158 } ) ;
159159
160160 if ( debugBool ) {
@@ -177,7 +177,7 @@ export class PytestTestExecutionAdapter implements ITestExecutionAdapter {
177177 const runArgs = [ scriptPath , ...testArgs ] ;
178178
179179 await execService ?. exec ( runArgs , spawnOptions ) . catch ( ( ex ) => {
180- traceVerbose ( `Error while running tests: ${ testIds } \r\n${ ex } \r\n\r\n` ) ;
180+ traceError ( `Error while running tests: ${ testIds } \r\n${ ex } \r\n\r\n` ) ;
181181 return Promise . reject ( ex ) ;
182182 } ) ;
183183 }
0 commit comments