'str' object has no attribute 'error'
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 109
- フォーク
- 85
- 平均マージ
- 1日 21時間
- マージ済み PR(30日)
- 1
説明
Describe the bug
December 6-7 we would see this exception thrown a few hundred calls per day. They stopped for a while but reappeared again on Jan 2. It also looks like APIs were completely down for about 15 minutes yesterday, as we could see another exception with Bad Gateway: The upstream server is unavailable, please try again... during that shorter timeframe.
To Reproduce
This seems to be random with intermittent issues on the Nylas API itself.
Expected behavior
Better exception handling and bubble up a more descriptive error that we can use to handle this case.
SDK Version:
6.4.0
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず SDK 6.4.0 における Nylas API の失敗経路と、報告されている例外 "'str' object has no attribute 'error'" を調査します。断続的に発生する Bad Gateway 応答がどのように処理されるかを追跡します。この失敗に対して、現在の属性エラーではなく説明的な例外が返されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- api, backend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100