diff --git a/libmproxy/flow.py b/libmproxy/flow.py index 868419e51..44bb10186 100644 --- a/libmproxy/flow.py +++ b/libmproxy/flow.py @@ -1493,8 +1493,6 @@ class FlowMaster(controller.Master): def handle_error(self, r): f = self.state.add_error(r) - self.replacehooks.run(f) - self.setheaders.run(f) if f: self.run_script_hook("error", f) if self.client_playback: