Skip to content

Commit 2b94f3b

Browse files
pavelsavaraCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 745ee78 commit 2b94f3b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/native/libs/System.Runtime.InteropServices.JavaScript.Native/interop

src/native/libs/System.Runtime.InteropServices.JavaScript.Native/interop/marshaled-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ export class PromiseHolder extends ManagedObject {
256256
} catch (ex) {
257257
try {
258258
dotnetLoaderExports.exit(1, ex);
259-
} catch (ex2) {
259+
} catch {
260260
// there is no point to propagate the exception into the unhandled promise rejection
261261
}
262262
}

0 commit comments

Comments
 (0)