You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The .then() callback will get called and close the pool if the query completes successfully. But if the query fails, the promise will reject instead of resolve, and the callback to close the pool will never get called.
The text was updated successfully, but these errors were encountered:
jedwards1211
added a commit
to jedwards1211/umzug-postgres-storage
that referenced
this issue
Jan 6, 2019
For example, at https://github.com/sikanrong/umzug-postgres-storage/blob/master/src/umzug-postgres-storage.js#L34:
The
.then()
callback will get called and close the pool if the query completes successfully. But if the query fails, the promise will reject instead of resolve, and the callback to close the pool will never get called.The text was updated successfully, but these errors were encountered: