Skip to content

Commit

Permalink
Return function result of wrapped functions
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Oct 15, 2013
1 parent fbf8379 commit 630e162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/raven.js
Expand Up @@ -160,7 +160,7 @@ var Raven = {
var property,
wrappedFunction = function() {
try {
func.apply(this, arguments);
return func.apply(this, arguments);
} catch(e) {
Raven.captureException(e, options);
throw e;
Expand Down

0 comments on commit 630e162

Please sign in to comment.