File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ export class AtelierAPI {
224
224
ns,
225
225
host,
226
226
port,
227
- superserverPort : superServer . port ,
227
+ superserverPort : superServer ? .port ,
228
228
username,
229
229
password,
230
230
pathPrefix,
@@ -256,7 +256,7 @@ export class AtelierAPI {
256
256
ns,
257
257
host,
258
258
port,
259
- superserverPort : superServer . port ,
259
+ superserverPort : superServer ? .port ,
260
260
username,
261
261
password,
262
262
pathPrefix,
@@ -379,7 +379,9 @@ export class AtelierAPI {
379
379
let cookie ;
380
380
let reqTs : Date ;
381
381
const outputRequest = ( ) => {
382
- outputChannel . appendLine ( `+- REQUEST - ${ reqTs . toLocaleTimeString ( ) } ----------------------------` ) ;
382
+ outputChannel . appendLine (
383
+ `+- REQUEST - ${ ( reqTs ?? new Date ( ) ) . toLocaleTimeString ( ) } ----------------------------`
384
+ ) ;
383
385
outputChannel . appendLine ( `${ method } ${ proto } ://${ host } :${ port } ${ path } ` ) ;
384
386
if ( cookie ) outputChannel . appendLine ( "COOKIE: <value>" ) ;
385
387
for ( const [ h , v ] of Object . entries ( headers ) ) {
You can’t perform that action at this time.
0 commit comments