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