Closed
Description
- Review the documentation: https://docs.sentry.io/
- Search for existing issues: https://github.com/getsentry/sentry-javascript/issues
- Use the latest release: https://github.com/getsentry/sentry-javascript/releases
- Provide a link to the affected event from your Sentry account
Package + Version
-
@sentry/browser
-
@sentry/node
-
@sentry/tracing
-
raven-js
-
raven-node
(raven for node) - other:
Version:
6.2.1
Description
When using pg
together with pg-copy-streams
the tracing code breaks the operation.
orig.call(...).then is not a function
import pg from "pg"
import { to } from "pg-copy-streams"
const client = new pg.Client()
const query = `COPY (SELECT xxx FROM yyy to STDOUT (DELIMITER ';', FORMAT CSV, ENCODING 'UTF8')`
const dataStream: Readable = client.query(to(query))
>>> fails
Metadata
Metadata
Assignees
Labels
No labels