input-output-hk / mithril

Stake-based threshold multi-signatures protocol
https://mithril.network
Apache License 2.0
122 stars 37 forks source link

Error message is very technical and confusing #1354

Open abailly opened 9 months ago

abailly commented 9 months ago

Context & versions

$ mithril-client  --version
mithril-client 0.4.12+e5ae362

Actual behavior

$ mithril-client snapshot list
Error: Dependencies Builder can not get Snapshot Service

Caused by:
    0: Dependencies Builder can not build Snapshot Service
    1: Dependencies Builder can not build Snapshot Client
    2: configuration property "aggregator_endpoint" not found

Expected behavior

Something like:

No aggregator endpoint defined, please define it using one of the methods below:
* Set AGGREGATOR_ENDPOINT environment variable
* Pass --aggregator-endpoint as command-line argument
* ...
jpraynaud commented 9 months ago

Other message received by Daniel e.g.:

Error: Snapshot Service can not download and verify the snapshot for digest: 'f7f4b404c879c91386f9eb7d24856e838e535702b8b41ad8671b1fca22d92ae8'

Caused by:
    certificate hash unmatch error