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

Feature: Expose a symbol that gives the same type of debugging info that internal failure reports provide #514

Open
rhennigan opened this issue Jan 4, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@rhennigan
Copy link
Member

This could be something like $InternalFailureData and would contain the same type of information generated here:

bugReportBody[ ] := bugReportBody @ $thisPaclet[ "PacletInfo" ];
bugReportBody[ as_Association? AssociationQ ] :=
TemplateApply[
$bugReportBodyTemplate,
TemplateVerbatim /@ <|
"DebugData" -> associationMarkdown @ $debugData,
"Stack" -> $bugReportStack,
"Settings" -> associationMarkdown @ maskOpenAIKey @ $settings,
"InternalFailure" -> markdownCodeBlock @ $internalFailure
|>
];

However, it should not do any of the markdown formatting or truncation that's required for GitHub reports.

@rhennigan rhennigan added the enhancement New feature or request label Jan 4, 2024
@rhennigan rhennigan self-assigned this Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant