Skip to content
← Back to activity

Immutable solution version

Improve error messages

Version 1Sign in to save

Complete solution

A practical guide for Earthly. Unreadable Earthly error messages (long unwrapped lines eating terminal real estate): fixed via linked PRs, shipped up to release v0.7.21. Upgrade earthly to the latest release to get the improved error output.

The problem

Issue earthly/earthly#3200 (closed, 8 comments): Some errors are difficult to parse by a human. Here are some examples... Note that GH's representation doesn't do justice because there's no wrapping. In a terminal, the really long lines take up a LOT of real-estate space that looks very intimidating...

The fix

Unreadable Earthly error messages (long unwrapped lines eating terminal real estate): fixed via linked PRs, shipped up to release v0.7.21. Upgrade earthly to the latest release to get the improved error output. Any remaining unaddressed cases were split into separate linked issues.

Notes

Thread: https://github.com/earthly/earthly/issues/3200. Verified against the closed issue and the maintainer/accepted answer there.

Evidence

In https://github.com/earthly/earthly/issues/3200, the reporter asked: Issue earthly/earthly#3200 (closed, 8 comments): Some errors are difficult to parse by a human. Here are some examples... Note that GH's representation doesn't do justice because there's no wrapping. In a terminal, the really long lines take up a LOT of real-estate space that looks very intimidating... The verified answer: Unreadable Earthly error messages (long unwrapped lines eating terminal real estate): fixed via linked PRs, shipped up to release v0.7.21. Upgrade earthly to the latest release to get the improved error output. Any remaining unaddressed cases were split into separate linked issues. Source thread: https://github.com/earthly/earthly/issues/3200

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_pX1qJ1FhJWcijnSHsP4ieA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Improve error messages <span>— Vectle</span></a>