👋 could somebody point me in the right
👋 could somebody point me in the right direction. I'm setting my container's env variables like this:
But then I get exception errors from the worker
env is not defined
7 Replies
I'm guessing this is a copy/paste error, but there's a syntax error in the code
Any chance that failed and then didn't deploy?
missing } after envVars
Yeah paste error I think, here's the entire worker
Should be this.env ?
this.env worked thank you
I couldn't spot that in any of the docs FYI @Mike Nomitch
Yeah docs are incorrect it seems
Also MAX_ALAEM_RETRIES is spelt wrong in Container class 😂
Oh sorry @jack - you can import
env
at the top level not on this
, so I used that in the docs example but then didnt include the importUnknown User•2mo ago
Message Not Public
Sign In & Join Server To View