diff --git a/dist/index.js b/dist/index.js index 4048718..a3f93c5 100644 --- a/dist/index.js +++ b/dist/index.js @@ -9748,7 +9748,8 @@ if (!!core.getInput('customHeaders')) { try { customHeaders = JSON.parse(core.getInput('customHeaders')); } catch(error) { - core.error('Could not parse customHeaders string value') + core.debug(`Invalid customHeaders string: ${core.getInput('customHeaders')}`) + core.error(`Could not parse customHeaders string value: ${error}`) } } diff --git a/src/index.js b/src/index.js index 75147d9..b88b9c2 100644 --- a/src/index.js +++ b/src/index.js @@ -13,7 +13,8 @@ if (!!core.getInput('customHeaders')) { try { customHeaders = JSON.parse(core.getInput('customHeaders')); } catch(error) { - core.error('Could not parse customHeaders string value') + core.debug(`Invalid customHeaders string: ${core.getInput('customHeaders')}`) + core.error(`Could not parse customHeaders string value: ${error}`) } }