Experimental error handling with snippets of input for OutputGenerator. #54

Merged
jan merged 5 commits from error-handling into master 3 months ago
jan commented 4 months ago

Trochu nerdsnipe v čase, kdy nemám moc času na práci na formátítku, anyway.

Ještě je potřeba přidat podobnou věc pro TransformProcessor.

Nově vypadá výpis chyby takto:

Error occured in Doc[0]: BlockGroup[9]: BulletList[8]: ListItem[0]:
on line: "FF doběhne v 𝓞(nm)"
in element: Math(𝓞(nm); format='InlineMath')
formatitko.katex.KatexError: Error: Font metrics not found for font: . in $𝓞(nm)$

Což je podstatně čitelnější, než obří pythoní backtrace.

Dejte vědět, jestli vám to přijde smysluplné @jirikalvoda @mj

Trochu nerdsnipe v čase, kdy nemám moc času na práci na formátítku, anyway. Ještě je potřeba přidat podobnou věc pro TransformProcessor. Nově vypadá výpis chyby takto: ``` Error occured in Doc[0]: BlockGroup[9]: BulletList[8]: ListItem[0]: on line: "FF doběhne v 𝓞(nm)" in element: Math(𝓞(nm); format='InlineMath') formatitko.katex.KatexError: Error: Font metrics not found for font: . in $𝓞(nm)$ ``` Což je podstatně čitelnější, než obří pythoní backtrace. Dejte vědět, jestli vám to přijde smysluplné @jirikalvoda @mj
jan added 1 commit 4 months ago
jan added 2 commits 3 months ago
42a63b3163 Partial rewrite of error handling
jan added 1 commit 3 months ago
jan added 1 commit 3 months ago
jan changed title from WIP: Experimental error handling with snippets of input for OutputGenerator. to Experimental error handling with snippets of input for OutputGenerator. 3 months ago
jan merged commit c7dd1a2e95 into master 3 months ago
mj commented 3 months ago
Owner

Hezké!

Hezké!
The pull request has been merged as c7dd1a2e95.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.