plan4hub / yoda

GitHub extension for agile project management using the issues subsystem.

Home Page:https://plan4hub.github.io/yoda/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yoda-webhook does not handle well if owner (organisation) listed in `> issuesearch`does not exist

jens-markussen opened this issue · comments

Causes exception and yoda-webhook terminates.

yoda-webhook_1  | [2023-06-22T18:15:09.847] [WARN] default - Could not find app installation for owner: nosuchorg
yoda-webhook_1  | [2023-06-22T18:15:09.852] [ERROR] default - TypeError: Cannot read properties of null (reading 'paginate')
yoda-webhook_1  |     at /usr/app/issue-references.js:138:40
yoda-webhook_1  |     at new Promise (<anonymous>)
yoda-webhook_1  |     at getChildren (/usr/app/issue-references.js:131:9)
yoda-webhook_1  |     at /usr/app/issue-references.js:678:4
yoda-webhook_1  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Confirmed working