Skip to content

Error on swarm-cli status if Bee is started with chequebook-enable: false #653

@akrem-chabchoub

Description

@akrem-chabchoub

swarm-cli status throws error when Bee is running with chequebook-enable: false

Description

When running a Bee node with chequebook-enable: false, executing swarm-cli status results in an error.
Instead of throwing an error, the CLI should gracefully handle this case and display a more informative message, such as:

Chequebook is disabled. No balance available.

Steps to Reproduce

  1. Run Bee with configuration option chequebook-enable: false.
  2. Run:
    swarm-cli status

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