Skip to content

Commit

Permalink
fix(transport): transferOut timeout must be inside try block
Browse files Browse the repository at this point in the history
  • Loading branch information
mroz22 committed Feb 10, 2025
1 parent 45d8cbb commit 616b173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/transport/src/api/usb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export class UsbApi extends AbstractApi {

const timeout = setTimeout(() => {
this.logger?.debug('usb: device.transfer out take suspiciously long. timing out.');
device?.reset();
device?.reset().catch(() => {});
}, 1000);

try {
Expand Down

0 comments on commit 616b173

Please sign in to comment.