Skip to content

Commit fd71f57

Browse files
Desprately try to surface a useful error
1 parent fb1c3d5 commit fd71f57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/ray/dashboard/optional_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ def is_browser_request(req: Request) -> bool:
140140

141141
def has_sec_fetch_headers(req: Request) -> bool:
142142
"""Checks for the existance of any of the sec-fetch-* headers"""
143+
raise Exception(repr(req.headers))
143144
return any(
144145
h in req.headers
145146
for h in (

0 commit comments

Comments
 (0)