chore: Improve error messages

オープン
#182 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
kubernetes, rust
領域
cli

調査の方向性

stackablectl stack install trino-iceberg コマンドから始め、報告されている Kubernetes クライアントと設定推論のエラーを追跡します。完了条件は、暗号的な入れ子のエラーチェーンを、接続や設定不足に関するガイダンスなどの読みやすいメッセージに置き換え、利用可能な場合は関連するコンテキストも含めることです。

索引モデルが issue の本文から書いたものです。

説明

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 ..."

主要言語
Rust
スター
10
フォーク
5
平均マージ
4時間 41分
マージ済み PR(30日)
4

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

stackabletech/stackablectl のほかの issue

stackabletech/stackablectl の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。