Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Production errors being thrown #39

Open
irvingpop opened this issue Nov 11, 2020 · 0 comments
Open

Production errors being thrown #39

irvingpop opened this issue Nov 11, 2020 · 0 comments

Comments

@irvingpop
Copy link

Capturing these errors from stdout on the container:

$ kubectl -n operationcode logs -f town-crier-6469f7f8d-7spvs                                                               <aws:operationcode>

> [email protected] start /usr/src/app
> node announcer.js

Refreshing the CRON Table
/usr/src/app/node_modules/cron/lib/cron.js:413
				throw new Error('Unknown alias: ' + alias);
				^

Error: Unknown alias: und
    at /usr/src/app/node_modules/cron/lib/cron.js:413:11
    at String.replace (<anonymous>)
    at CronTime._parse (/usr/src/app/node_modules/cron/lib/cron.js:406:29)
    at new CronTime (/usr/src/app/node_modules/cron/lib/cron.js:46:9)
    at new CronJob (/usr/src/app/node_modules/cron/lib/cron.js:527:19)
    at /usr/src/app/announcer.js:82:35
    at Array.forEach (<anonymous>)
    at page (/usr/src/app/announcer.js:65:17)
    at /usr/src/app/node_modules/airtable/lib/query.js:102:17
    at Request._callback (/usr/src/app/node_modules/airtable/lib/run_action.js:68:9)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node announcer.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-11-11T18_14_00_593Z-debug.log

I can confirm that the container image we're using is the one from 2019, so I'd guess the breakage is external (perhaps an API changed?)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant