Remove duplicate error written to logs

The ErrorHandler::handleException() call is already writing $error to CakeLog.
If you want to customize it to a different code, ("error" -> "error404"), that should be
done by customizing ErrorHandler::handleException().

Before this change, a single 404 would generate two entries in a log file with the default
Cake ErrorHandler.