Skip to content

Commit

Permalink
add trace
Browse files Browse the repository at this point in the history
  • Loading branch information
m5r committed Jul 10, 2024
1 parent 5c78268 commit 9b1cfcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/e2e/cht-docker-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const isProjectReady = async (projectName, attempt = 1) => {
const url = await getProjectUrl(projectName);
await request({ uri: `${url}/api/v2/monitoring`, json: true })
.catch(async (error) => {
log.error(error);
if (error.error.code === 'DEPTH_ZERO_SELF_SIGNED_CERT') {
await sleep(1000);
return isProjectReady(projectName, attempt + 1);
Expand Down

0 comments on commit 9b1cfcc

Please sign in to comment.