Skip to content

Commit 8f14a9f

Browse files
committed
Merge pull request #100 from streeter/master
Return wrapped function's return value
2 parents bfb2157 + 08abf70 commit 8f14a9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/raven.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ var Raven = {
151151

152152
return function() {
153153
try {
154-
func.apply(this, arguments);
154+
return func.apply(this, arguments);
155155
} catch(e) {
156156
Raven.captureException(e, options);
157157
throw e;

0 commit comments

Comments
 (0)