Don't run replace or header hooks on error.

This commit is contained in:
Aldo Cortesi 2012-09-02 12:57:49 +12:00
parent 5630d3f660
commit b7d89f6919
1 changed files with 0 additions and 2 deletions

View File

@ -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: