Skip to content

chore: Improve error messages #182

Open
@fhennig

Description

@fhennig

currently:

> stackablectl stack install trino-iceberg
An unrecoverable error occured: failed to execute stack (sub)command

Caused by these errors (recent errors listed first):
 1: failed to install stack
 2: stack resource requests error
 3: failed to create kube client
 4: failed to create Kubernetes client
 5: Failed to infer configuration
 6: failed to infer config
 7: failed to determine current context

This is a bit cryptic. it would be good to catch this error and print a more readable message like "could not connect to Kubernetes cluster" or "No Kubernetes configuration found" or something like that. Possibly with context information like "tried connecting to ..." or "tried reading file at ..."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions