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;
114
114
* Remix Docs: https://remix.run/docs/en/main/file-conventions/entry.server#handleerror
115
115
*/
116
116
export 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 {
120
120
// This is expected to be void but just in case it changes in the future.
121
121
const res = origHandleError . call ( this , err , args ) ;
122
122
You can’t perform that action at this time.
0 commit comments