Re-throw error in otherwise-empty `catch` clause so that `PeriodicalExecuter` does not suppress exceptions. [#696 state:resolved] (Samuel Lebeau)

This commit is contained in:
Andrew Dupont 2009-07-18 18:51:16 +02:00
parent 059ce21040
commit e41ccba6d8
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,5 @@
* Re-throw error in otherwise-empty `catch` clause so that `PeriodicalExecuter` does not suppress exceptions. (Samuel Lebeau)
* Fix issue related to escaping of selectors for querySelectorAll. [#559 state:resolved] (Jorn Holm)
*1.6.1_rc3* (June 16, 2009)

View File

@ -53,7 +53,8 @@ var PeriodicalExecuter = Class.create({
this.currentlyExecuting = true;
this.execute();
} catch(e) {
/* empty catch for clients that don't support try/finally */
// Catch clause for clients that don't support try/finally.
throw e;
}
finally {
this.currentlyExecuting = false;