medic / cht-couch2pg

Software for creating read-only replicas of data from CHT applications, using PostgreSQL v9.4
Apache License 2.0
4 stars 8 forks source link

Assignment to constant variable in error path #140

Open kennsippell opened 1 year ago

kennsippell commented 1 year ago
[2023-06-27T20:58:21.779Z ERROR]:  An unrecoverable error occurred
[2023-06-27T20:58:21.779Z ERROR]:  TypeError: Assignment to constant variable.
    at Object.run (/var/adapter/shared/cht-couch2pg-v3.6.2/node_modules/cht-couch2pg/libs/medic/runner.js:77:20)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2023-06-27T20:58:21.780Z ERROR]:  exiting
derickl commented 1 year ago

Is this easily reproducible? Do you have access to a longer stack trace?