diff --git a/src/xo-mixins/scheduling.js b/src/xo-mixins/scheduling.js index 3891604ad..62094daaf 100644 --- a/src/xo-mixins/scheduling.js +++ b/src/xo-mixins/scheduling.js @@ -182,7 +182,7 @@ export default class { try { this._disable(id) } catch (exc) { - if (!exc instanceof SchedulerError) { + if (!(exc instanceof SchedulerError)) { throw exc } } finally {