mirror of
https://github.com/fjogeleit/http-request-action.git
synced 2024-12-22 20:32:33 +00:00
revert setFailed to setOutput
This commit is contained in:
parent
82c8e38c69
commit
f90afba39a
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ const instance = axios.create(instanceConfig);
|
|||
core.setOutput('response', JSON.stringify(response.data))
|
||||
} catch (error) {
|
||||
if (error.toJSON) {
|
||||
core.setFailed(JSON.stringify(error.toJSON()));
|
||||
core.setOutput(JSON.stringify(error.toJSON()));
|
||||
}
|
||||
|
||||
if (error.response) {
|
||||
|
|
Loading…
Reference in a new issue