Merge pull request #17951 from poislagarde/patch-2

[raven] Add missing requestHandler
This commit is contained in:
Ryan Cavanaugh
2017-07-11 10:57:52 -07:00
committed by GitHub
+1
View File
@@ -18,6 +18,7 @@ export function captureException(e: Error, cb?: CaptureCallback): Client;
export function captureException(e: Error, options?: CaptureOptions, cb?: CaptureCallback): Client;
export function mergeContext(ctx: any): Client;
export function getContext(): any;
export function requestHandler(): (req: IncomingMessage, res: ServerResponse, next: () => void) => void;
export function errorHandler(): (e: Error, req: IncomingMessage, res: ServerResponse, next: () => void) => void;
export function context(ctx: any, func: () => void, onErr?: () => void): Client;
export function context(func: () => void, onErr?: () => void): Client;