Logging url with errors