File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ class ActionRequest {
131131 if ( response . ok ) {
132132 response . body . pipe ( stream )
133133 . on ( "error" , ( err ) => {
134- winston . error ( `[stream] PassThrough stream error` , Object . assign ( { } , this . logInfo ) ) ;
134+ winston . error ( `[stream] PassThrough stream error` , this . logInfo ) ;
135135 reject ( err ) ;
136136 } )
137137 . on ( "finish" , ( ) => {
@@ -154,7 +154,7 @@ class ActionRequest {
154154 } ) ;
155155 }
156156 catch ( e ) {
157- winston . warn ( `Erorr connecting to callback url` , this . logInfo ) ;
157+ winston . warn ( `Error connecting to callback url` , this . logInfo ) ;
158158 reject ( e ) ;
159159 }
160160 }
Original file line number Diff line number Diff line change @@ -191,9 +191,7 @@ export class ActionRequest {
191191 if ( response . ok ) {
192192 response . body . pipe ( stream )
193193 . on ( "error" , ( err ) => {
194- winston . error ( `[stream] PassThrough stream error` , {
195- ...this . logInfo ,
196- } )
194+ winston . error ( `[stream] PassThrough stream error` , this . logInfo )
197195 reject ( err )
198196 } )
199197 . on ( "finish" , ( ) => {
@@ -214,7 +212,7 @@ export class ActionRequest {
214212 reject ( responseText )
215213 } )
216214 } catch ( e ) {
217- winston . warn ( `Erorr connecting to callback url` , this . logInfo )
215+ winston . warn ( `Error connecting to callback url` , this . logInfo )
218216 reject ( e )
219217 }
220218 } else {
You can’t perform that action at this time.
0 commit comments