Skip to content

Failing to publish integration event does not include system error response details #690

Description

@austinkelleher

We are currently logging an error when an integration job log event fails to publish, but we are not including the error details returned by the system.

Example error/partial stack:

err.message | Request failed with status code 400
err.name | Error
err.stack | Error: Request failed with status code 400
/opt/jupiterone/app/node_modules/@jupiterone/integration-sdk-runtime/dist/src/synchronization/events.js:14:21

level | 50
msg | Failed to publish integration event

Here is an example of where we are doing this in the project:

function getSystemErrorResponseData(

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions