Logger: throws exception when is unable to write to log file
error.phtml: fixed erasing of HTML output
Message "Unable to log error." is passed to error.html