Skip to content

Commit

Permalink
Backporting PR #197 to the v1.x release line
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMGreene committed Aug 9, 2023
1 parent eb68e76 commit f27bcc1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
6 changes: 0 additions & 6 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10080,9 +10080,6 @@ class Deployment {
} catch (error) {
core.error(error.stack)

// output raw error in debug mode.
core.debug(JSON.stringify(error))

// build customized error message based on server response
if (error.response) {
let errorMessage = `Failed to create deployment (status: ${error.status}) with build version ${this.buildVersion}. `
Expand Down Expand Up @@ -10163,9 +10160,6 @@ class Deployment {
} catch (error) {
core.error(error.stack)

// output raw error in debug mode.
core.debug(JSON.stringify(error))

// build customized error message based on server response
if (error.response) {
errorStatus = error.status || error.response.status
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions src/deployment.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ class Deployment {
} catch (error) {
core.error(error.stack)

// output raw error in debug mode.
core.debug(JSON.stringify(error))

// build customized error message based on server response
if (error.response) {
let errorMessage = `Failed to create deployment (status: ${error.status}) with build version ${this.buildVersion}. `
Expand Down Expand Up @@ -163,9 +160,6 @@ class Deployment {
} catch (error) {
core.error(error.stack)

// output raw error in debug mode.
core.debug(JSON.stringify(error))

// build customized error message based on server response
if (error.response) {
errorStatus = error.status || error.response.status
Expand Down

0 comments on commit f27bcc1

Please sign in to comment.