mozilla / remote-settings-ondemand-crashes

Scripts to ingest on-demand crash ids into RemoteSettings
0 stars 1 forks source link

Crash with `ReferenceError: Headers is not defined` #1

Closed leplatrem closed 2 weeks ago

leplatrem commented 2 weeks ago

Job is deployed and runs. Now facing this error:

2024-11-08 13:00:02.760
cron-remote-settings-ondemand-…
ReferenceError: Headers is not defined
    at getCrashIds (file:///app/update_remote_settings_records.mjs:105:19)
    at update (file:///app/update_remote_settings_records.mjs:75:26)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
afranchuk commented 2 weeks ago

Hmm. I've run it locally pointing at staging many times, that's surprising.

afranchuk commented 2 weeks ago

Ah, it's probably an issue with using an old version of node.

afranchuk commented 2 weeks ago

The v1.1.1 tag should fix this.

leplatrem commented 2 weeks ago

Seems to have worked, but there is now another crash. Will open other issue