Skip to content

Commit

Permalink
fix(W-17544106): pg:wait command addon not found warning
Browse files Browse the repository at this point in the history
  • Loading branch information
justinwilaby committed Feb 12, 2025
1 parent be1e862 commit 8641ce3
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 for provisioning to start...'

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 8641ce3

Please sign in to comment.