Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

Commit

Permalink
added rethrow to super calls
Browse files Browse the repository at this point in the history
  • Loading branch information
kbjr committed Mar 14, 2013
1 parent 5ed3d46 commit 429244c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions classes.js
Expand Up @@ -112,6 +112,8 @@
var scope = func.__scope__ = func.__scope__.parent;
try {
return scope.prototype[method].apply(that, args);
} catch (e) {
throw e;
} finally {
// We put this in a finally block to make sure the scope is
// always reset, even in the event of an error
Expand Down

0 comments on commit 429244c

Please sign in to comment.