'str' object has no attribute 'error'
まだ誰も着手していません。
評価
調査の方向性
まず SDK 6.4.0 における Nylas API の失敗経路と、報告されている例外 "'str' object has no attribute 'error'" を調査します。断続的に発生する Bad Gateway 応答がどのように処理されるかを追跡します。この失敗に対して、現在の属性エラーではなく説明的な例外が返されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Python
- スター
- 109
- フォーク
- 85
- 平均マージ
- 1日 21時間
- マージ済み PR(30日)
- 1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nylas/nylas-python のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
nylas/nylas-python#455 ·
-
nylas/nylas-python#454 · コメント 3 件 · 担当者 1 名 ·
-
bug
nylas/nylas-python#448 · コメント 1 件 · 担当者 2 名 ·
-
enhancement
nylas/nylas-python#412 · コメント 1 件 · リアクション 5 件 · 担当者 1 名 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
nylas/nylas-python#402 · リアクション 1 件 ·
nylas/nylas-python の issue をすべて見る
似ている issue
-
link-check link-check:sphinx-theme
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
OpenHands/extensions#626 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
CSCfi/sd-search-api#39 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100