Skip to content

Commit 855c2df

Browse files
author
Ives van Hoorne
committed
Correct usage of Raven logging
1 parent c237d33 commit 855c2df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/app/utils/debug.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ const getDebugger = () => {
44
return (key: string) => (message: string) => {
55
if (typeof window.Raven === 'object') {
66
try {
7-
Raven.captureMessage(message, {
8-
level: 'info',
9-
logger: key,
7+
Raven.captureBreadcrumb({
8+
message: `${key} - ${message}`,
9+
category: 'logging',
1010
});
1111
} catch (e) {
1212
console.error(e);

0 commit comments

Comments
 (0)