show path, not url in exception message