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 @@ -114,9 +114,9 @@ export const wrapRemixHandleError = sentryHandleError;
114114 * Remix Docs: https://remix.run/docs/en/main/file-conventions/entry.server#handleerror
115115 */
116116export function wrapHandleErrorWithSentry (
117- origHandleError : ( err : unknown , args : unknown ) => void ,
118- ) : ( err : unknown , args : unknown ) => void {
119- return function ( this : unknown , err : unknown , args : unknown ) : void {
117+ origHandleError : ( err : unknown , args : { request : unknown } ) => void ,
118+ ) : ( err : unknown , args : { request : unknown } ) => void {
119+ return function ( this : unknown , err : unknown , args : { request : unknown } ) : void {
120120 // This is expected to be void but just in case it changes in the future.
121121 const res = origHandleError . call ( this , err , args ) ;
122122
You can’t perform that action at this time.
0 commit comments