diff --git a/dist/index.js b/dist/index.js index abfdf6c8..b83991fe 100644 --- a/dist/index.js +++ b/dist/index.js @@ -985,7 +985,7 @@ async function checkOutRemoteBranch(branch) { return true; } catch (error) { - core.info(`Branch "${branch}" does not yet exist on remote.`); + core.info(`Branch "${branch}" does not yet exist on remote. error: ${error}`); await runShellCommand(`git checkout -b ${branch}`); return false; } diff --git a/index.js b/index.js index a553358c..98c53aed 100644 --- a/index.js +++ b/index.js @@ -374,7 +374,7 @@ async function checkOutRemoteBranch(branch) { return true; } catch (error) { - core.info(`Branch "${branch}" does not yet exist on remote.`); + core.info(`Branch "${branch}" does not yet exist on remote. error: ${error}`); await runShellCommand(`git checkout -b ${branch}`); return false; }