File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 36
36
< button onclick ="testSynthetic() "> test synthetic</ button >
37
37
< button onclick ="throwString() "> throw string</ button >
38
38
< button onclick ="showDialog() "> show dialog</ button >
39
+ < button onclick ="captureMessage() "> capture message</ button >
40
+ < button onclick ="captureException() "> capture exception</ button >
39
41
< button onclick ="blobExample() "> blob example</ button >
40
42
< input />
41
43
Original file line number Diff line number Diff line change @@ -68,6 +68,14 @@ function blobExample() {
68
68
xhr . send ( ) ;
69
69
}
70
70
71
+ function captureMessage ( ) {
72
+ Raven . captureMessage ( 'lol did it broke' ) ;
73
+ }
74
+
75
+ function captureException ( ) {
76
+ Raven . captureException ( new Error ( 'lol did it broke' ) ) ;
77
+ }
78
+
71
79
function a ( ) { b ( ) ; }
72
80
function b ( ) { c ( ) ; }
73
81
function c ( ) { d ( ) ; }
You can’t perform that action at this time.
0 commit comments