Skip to content

Blackboxing scripts #2534

Closed
Closed
@kkmuffme

Description

@kkmuffme

I'm using

var _info = console.info;
console.info = function( message ) {
	Sentry.captureException( new Error( message ), { level: 'info' });

	_info.apply( console, arguments );
}

in a custom handler.
The stacktrace contains the file/place where I call this, which I'd like to remove, since this shows up for everything reported but is useless info.
In Chrome this is called "blackboxing" & works great - is there a similar feature in sentry?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions