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