From 61d08d09b1f5d79fec41263b5d2cda2bb54cf780 Mon Sep 17 00:00:00 2001 From: Keegan Campbell Date: Tue, 5 Dec 2023 16:00:28 -0800 Subject: [PATCH] Print out error in checkOutRemoteBranch --- dist/index.js | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }