diff --git a/libmproxy/flow.py b/libmproxy/flow.py index a93f8e242..edd10f497 100644 --- a/libmproxy/flow.py +++ b/libmproxy/flow.py @@ -655,12 +655,14 @@ class ClientConnect(controller.Msg): def _load_state(self, state): self.close = True + self.error = state["error"] self.requestcount = state["requestcount"] def _get_state(self): return dict( address = list(self.address), requestcount = self.requestcount, + error = self.error, ) @classmethod