Log url in error message