Skip to content

Commit 25194fc

Browse files
committed
Test strings again
1 parent 03d00d9 commit 25194fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@
333333
* @return New AppEvent instance.
334334
*/
335335
function fillStacktrace(error, logLevel, classification, stackFrames) {
336-
var type = (typeof error === 'object') ? error.constructor.name : (typeof error).toString();
336+
var type = (typeof error === 'object') ? 'error.constructor.name' : (typeof error).toString();
337337
console.log("test:" + type)
338338

339339
var newEvent = _this.createAppEvent(logLevel ? logLevel : "Error", classification ? classification : "issue", type, error.toString());

0 commit comments

Comments
 (0)