This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Fetcher throws incorrect error with zero-config_vars attachments #139
Comments
@keiko713 Can you give me a full command and the error that you get, with |
Sooo this works well:
but this doesn't:
|
it's kinda "you shouldn't really hit" thing in prod so pretty low priority maybe. if you want to repro by yourself, let me know. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
During the provisioning, there is a timing that there's an attachment but there's not config_vars.
Under that condition, https://github.com/heroku/heroku-pg/blob/master/lib/fetcher.js#L61 will throw the error https://github.com/heroku/heroku-pg/blob/master/lib/util.js#L12 .
This is especially bad for staging environment where we actually need to reach to that point (for prod, usually resolving addon finishes before hitting there).
The text was updated successfully, but these errors were encountered: