File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -115,9 +115,9 @@ export const wrapRemixHandleError = sentryHandleError;
115115 * Remix Docs: https://remix.run/docs/en/main/file-conventions/entry.server#handleerror
116116 */
117117export function wrapHandleErrorWithSentry (
118- origHandleError : ( err : unknown , args : unknown ) => void ,
119- ) : ( err : unknown , args : unknown ) => void {
120- return function ( this : unknown , err : unknown , args : unknown ) : void {
118+ origHandleError : ( err : unknown , args : { request : unknown } ) => void ,
119+ ) : ( err : unknown , args : { request : unknown } ) => void {
120+ return function ( this : unknown , err : unknown , args : { request : unknown } ) : void {
121121 // This is expected to be void but just in case it changes in the future.
122122 const res = origHandleError . call ( this , err , args ) ;
123123
You can’t perform that action at this time.
0 commit comments