TryGhost / action-deploy-theme

:octocat: Deploy your Ghost theme with Github Actions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Errors show as `[ [Object] ]` in the log

jschnurr opened this issue · comments

When an error is thrown by the action, the errors object does not show the actual error in the log. Instead, [ [Object] ] is presented in it's place.

  name: 'ThemeValidationError',
  context: null,
  type: 'ThemeValidationError',
  details: {
    checkedVersion: '4.x',
    name: 'my-theme',
    path: '/tmp/4a087165-c677-412d-8fe3-47b685ede062',
    version: '4.2.0',
    errors: [ [Object] ]
  },
  property: null,
  help: null,
  code: null,
  id: '77720cb0-3fe0-11ec-823b-2356111094be'
}

I'm still getting an error object instead of an error message. Since there is a fix committed, do I have an outdated action?