Skip to content

Commit 6e90e4a

Browse files
authored
Merge pull request #23 from Recras/404-exception-error-log
No need to call error_log for 404's
2 parents 8571cb3 + b5337ab commit 6e90e4a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/exception/sfError404Exception.class.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ public function printStackTrace()
4040
}
4141
else
4242
{
43-
// log all exceptions in php log
44-
if (!sfConfig::get('sf_test'))
45-
{
46-
error_log($this->getMessage());
47-
}
48-
4943
sfContext::getInstance()->getController()->forward(sfConfig::get('sf_error_404_module'), sfConfig::get('sf_error_404_action'));
5044
}
5145
}

0 commit comments

Comments
 (0)