diff --git a/lib/review-apps.js b/lib/review-apps.js index 475fd577..a7e6d84d 100644 --- a/lib/review-apps.js +++ b/lib/review-apps.js @@ -127,12 +127,12 @@ const waitForReviewAppBuild = ({ commit, minTimeout = MIN_TIMEOUT }) => async (a const build = builds.find(({ source_blob: { version } }) => version === commit); if (!build) { - throw new Error(`No review app build found for app id ${appId}, commit ${commit}`); + throw new Error(`No review app build found for app id '${appId}';, commit '${commit}'`); } const { status } = build; if (status !== BUILD_STATUS_SUCCEEDED) { - throw new Error(`Review app build for app id ${appId} (commit ${commit}) not done yet: ${status}`); + throw new Error(`Review app build for app id '${appId}' (commit '${commit}') not done yet: ${status}`); } return build; diff --git a/tasks/review-app.js b/tasks/review-app.js index 65584cd0..6adbf147 100644 --- a/tasks/review-app.js +++ b/tasks/review-app.js @@ -15,7 +15,7 @@ async function task (appName, options) { .then(res => { const { status } = res; if (status === 409) { - console.error(`Review app already created for ${branch} branch. Using existing review app for build.`); // eslint-disable-line no-console + console.error(`Review app already created for '${branch}' branch. Using existing review app for build.`); // eslint-disable-line no-console return findCreatedReviewApp({ pipelineId, branch