Skip to content

Commit 08abf70

Browse files
committed
Return the value from the wrapped function
1 parent bfb2157 commit 08abf70

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)