File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -177,6 +177,9 @@ export default class LambdaRestService {
177177 ++ this . _failures ;
178178 this . _failReasons . push ( ( error && error . message ) || 'Unknown Error' )
179179 this . _error = error . message || 'Unknown Error' ;
180+ if ( this . _ltErrorRemark && this . _error !== null && this . _error !== undefined ) {
181+ this . _setSessionRemarks ( this . _error ) ;
182+ }
180183 }
181184 }
182185
@@ -283,10 +286,6 @@ export default class LambdaRestService {
283286 body = this . getBody ( { fullTitle, status, calledOnReload, browserName } ) ;
284287 }
285288 try {
286- if ( this . _ltErrorRemark && this . _error !== null && this . _error !== undefined )
287- {
288- await this . _setSessionRemarks ( this . _error ) ;
289- }
290289 await updateSessionById ( sessionId , body , this . _lambdaCredentials ) ;
291290 } catch ( ex ) {
292291 console . log ( ex ) ;
You can’t perform that action at this time.
0 commit comments