cdc51add7d
* feat: wip add user to sentry * feat: wip interceptor * feat: wip add user to sentry * feat: add user into sentry errors * fix: hide stack trace in production * fix: properly log commands and handle exceptions * fix: filter command exceptions * feat: handle jobs errors
13 lines
287 B
TypeScript
13 lines
287 B
TypeScript
import { OperationTypeNode } from 'graphql';
|
|
|
|
import { ExceptionHandlerUser } from './exception-handler-user.interface';
|
|
|
|
export interface ExceptionHandlerOptions {
|
|
operation?: {
|
|
type: OperationTypeNode;
|
|
name: string;
|
|
};
|
|
document?: string;
|
|
user?: ExceptionHandlerUser;
|
|
}
|