Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send data-related warnings from backend in HTTP header and view frontend in respective modules #836

Draft
wants to merge 28 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
wip
  • Loading branch information
rubenthoms committed Jan 6, 2025
commit c3929767208d7080146ed4d54b02a42659341582
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async def send_with_warning_header(message) -> None:
headers = MutableHeaders(scope=message)
context = request_context.get()
warnings = json.dumps(context["warnings"])
headers.append("Warnings", warnings)
headers.append("Webviz-Content-Warnings", warnings)

await send(message)

Expand Down
Loading