Skip to content

Commit

Permalink
fix(bluetooth-classic): exclude I/O errors from logs and healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
mKeRix committed May 27, 2020
1 parent 96d5899 commit dcb1cf1
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -227,7 +227,10 @@ export class BluetoothClassicService extends KalmanFilterable(Object, 1.4, 1)
);
this.healthIndicator.reportError();
this.resetHciDevice();
} else if (e.message?.includes('Input/output error')) {
} else if (
e.message?.includes('Input/output') ||
e.message?.includes('I/O')
) {
this.logger.debug(e.message);
} else {
this.logger.error(e.message);
Expand Down

0 comments on commit dcb1cf1

Please sign in to comment.