diff --git a/src/create-pull-request.ts b/src/create-pull-request.ts index d511a1c..9535b7b 100644 --- a/src/create-pull-request.ts +++ b/src/create-pull-request.ts @@ -265,10 +265,6 @@ export async function createPullRequest(inputs: Inputs): Promise { } } } catch (error) { - if (error instanceof Error) { - core.error(error) - if (error.stack) core.error(error.stack) - } core.setFailed(utils.getErrorMessage(error)) } finally { // Remove auth and restore persisted auth config if it existed diff --git a/src/main.ts b/src/main.ts index 9be7c90..711d0c3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -32,10 +32,6 @@ async function run(): Promise { await createPullRequest(inputs) } catch (error) { - if (error instanceof Error) { - core.error(error) - if (error.stack) core.error(error.stack) - } core.setFailed(utils.getErrorMessage(error)) } } diff --git a/src/utils.ts b/src/utils.ts index c8bacc5..c84532a 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -147,9 +147,6 @@ export function fileExistsSync(path: string): boolean { throw new Error("Arg 'path' must not be empty") } - core.info(path) - core.info(fs.realpathSync(path)) - let stats: fs.Stats try { stats = fs.statSync(fs.realpathSync(path))