Skip to content

Commit 7b31285

Browse files
committed
Fix missing throw error from polling try-catch
Without it the polling continues forever on loop! oops
1 parent 89db858 commit 7b31285

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sources/AbstractSource.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ export default class AbstractSource {
172172
this.logger.error('Error occurred while polling');
173173
this.logger.error(e);
174174
this.polling = false;
175+
throw e;
175176
}
176177
}
177178
}

0 commit comments

Comments
 (0)