Skip to content

Commit

Permalink
Added return type
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianRappl committed Dec 14, 2024
1 parent 16d4479 commit 3432ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/injectors/proxy-injector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export default class ProxyInjector implements KrasInjector {
host: target,
},
redirect: this.config.followRedirect,
}).catch((err) => {
}).catch((err: Error): undefined => {
this.logError(err);
return undefined;
});
Expand Down

0 comments on commit 3432ae8

Please sign in to comment.