Skip to content

Commit 905da3b

Browse files
author
Daniel Herzog
committed
Fixed error_in_last_responsecode
1 parent 240875e commit 905da3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/network/network_service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ cls.NetworkLoggerEntryPrototype = function()
763763
this._update_event_response = function(event)
764764
{
765765
this.last_responsecode = event.responseCode;
766-
this.error_in_last_response = /^[45]/.test(this.responsecode);
766+
this.error_in_last_response = /^[45]/.test(this.last_responsecode);
767767
this._current_response = new cls.NetworkLoggerResponse(this);
768768
this.requests_responses.push(this._current_response);
769769
this._current_response._update_event_response(event);

0 commit comments

Comments
 (0)