Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit e9feb76

Browse files
committed
Log name rather than undefined
1 parent 062f01a commit e9feb76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/botPage/view/logger.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const notifyError = error => {
6868

6969
if (trackJs) {
7070
trackJs.console.log(error);
71-
trackJs.track(code);
71+
trackJs.track(code || error.name);
7272
}
7373
};
7474

0 commit comments

Comments
 (0)