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 hours ago

leplatrem commented 4 hours 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 4 hours ago

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

afranchuk commented 4 hours ago

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

afranchuk commented 4 hours ago

The v1.1.1 tag should fix this.

leplatrem commented 3 hours ago

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