// Other imports
import { captureException } from '@sentry/node';
export class UserListener extends Listener<typeof Events.ListenerError> {
public run(error: Error, context: ListenerErrorPayload) {
captureException(error, { tags: { name: context.piece.name } });
}
}
// Other imports
import { captureException } from '@sentry/node';
export class UserListener extends Listener<typeof Events.ListenerError> {
public run(error: Error, context: ListenerErrorPayload) {
captureException(error, { tags: { name: context.piece.name } });
}
}