You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove BuilddBaseAlias string-match guard in handle_runtime_error #1086
craft_application/util/logging.py (lines ~115-133, introduced in #1082) catches
the bare ValueError("'X.YY' is not a valid BuilddBaseAlias") from craft-providers
by string-matching the message:
case ValueError() if "BuilddBaseAlias" in str(error):
This is a shallow guard. The proper fix is for craft-providers to raise a typed
error at the lookup site; once that lands, this match arm should be replaced by
a typed except clause (or removed if the upstream handler covers it).
Activity
fix(errors): link to tracking issues for base-alias guard