Skip to content

Commit

Permalink
fix(W-17544106): pg:wait command addon not found warning (#3216)
Browse files Browse the repository at this point in the history
fix(W-17544106): pg:wait command addon not found warning
  • Loading branch information
justinwilaby authored Feb 13, 2025
1 parent be1e862 commit abb6a13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/cli/src/commands/pg/wait.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export default class Wait extends Command {
let status
let waiting = false
let retries = 20
const notFoundMessage = 'Waiting to provision...'

while (true) {
try {
Expand All @@ -51,7 +52,7 @@ export default class Wait extends Command {
pgDebug(httpError)
if (!retries || httpError.statusCode !== 404) throw httpError
retries--
status = {'waiting?': true}
status = {'waiting?': true, message: notFoundMessage}
}

if (status['error?']) {
Expand Down

0 comments on commit abb6a13

Please sign in to comment.