Skip to content

feature: kit error could be colored red #155

@jurij-jukic

Description

@jurij-jukic

when getting an error running kit boot-fake-node, the error is hidden within a wall of monotonously coloured text.
the output which i got was:

$ kit boot-fake-node
Checking for Anvil  on port 8545...
Anvil is ready on port 8545.
home at /tmp/kinode-fake-node
error: couldn't bind 8080; first available port found was 8083. Set an available port with `--port` and try again.
thread 'main' panicked at kinode/src/main.rs:456:17:
explicit panic
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Cleaning up "/tmp/kinode-fake-node"...
Done cleaning up "/tmp/kinode-fake-node".

all the info I need is in the 'error' line, so if that could be highlighted it could improve dev experience.

this should probably be generalized to errors from all kit commands

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions