1
0
Fork 0
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:
Frank 2020-07-19 10:08:45 +02:00
parent 82c8e38c69
commit f90afba39a

View file

@ -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) {