Don't run replace or header hooks on error.
This commit is contained in:
parent
5630d3f660
commit
b7d89f6919
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue