switch to stringfy

This commit is contained in:
yimysty
2021-12-20 11:07:47 -08:00
parent 3e42e639f8
commit a8d6bdfa01
5 changed files with 8 additions and 8 deletions

4
dist/index.js vendored
View File

@@ -7103,7 +7103,7 @@ class Deployment {
} catch (error) {
core.info(`Failed to create deployment for ${this.buildVersion}.`)
if (error.response && error.response.data) {
console.log(error.response.data)
core.info(JSON.stringify(error.response.data))
}
core.setFailed(error)
throw error
@@ -7174,7 +7174,7 @@ class Deployment {
} catch (error) {
core.setFailed(error)
if (error.response && error.response.data) {
console.log(error.response.data)
core.info(JSON.stringify(error.response.data))
}
}
}