github-tools / github-tools/github

Error when requesting deleted gist

オープン
#536 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
3.8k
フォーク
809
PR マージ指標
30日以内にマージされた PR はありません

説明

```
(node:1653) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'data' of undefined
at MY_PROJECT/node_modules/github-api/dist/components/Requestable.js:238:29
at
at process._tickCallback (internal/process/next_tick.js:182:7)
(node:1653) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:1653) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
```

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

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

調査の方向性

Start at github-api/dist/components/Requestable.js:238 and reproduce the request for a deleted gist. Inspect how the missing response is handled, then verify that the request reports an appropriate error instead of producing the shown TypeError and unhandled rejection.

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

評価

技術スタック
javascript
領域
api
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

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

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