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

panic: set ReportQuery buffer size #50

Merged
merged 1 commit into from
Jun 13, 2023
Merged

panic: set ReportQuery buffer size #50

merged 1 commit into from
Jun 13, 2023

Conversation

melak47
Copy link
Contributor

@melak47 melak47 commented Jun 4, 2023

stx::panic(std::string_view info, T const &value) does not set the buffer size,
so value is never stringified because there appears to be no room in the buffer.

This PR just sets the buffer size, same as the tests do.

@lamarrr
Copy link
Owner

lamarrr commented Jun 13, 2023

Thanks for fixing that!

@lamarrr lamarrr merged commit 6392be3 into lamarrr:main Jun 13, 2023
@lamarrr
Copy link
Owner

lamarrr commented Jun 13, 2023

I didn't notice as I personally haven't really been using it. I mostly rely on the source location for debugging which is usually enough

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants