-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
The problem of rewriting filenames comes up very frequently. This is currently not documented really (other than that dataCallback) exists. Maybe we can add a method for this?
To conver this:
Raven.config('DSN_HERE', {
dataCallback: function(data) {
if (data.exception) {
data.exception.values[0].stacktrace.frames.forEach(function(frame) {
frame.filename = frame.filename.split('?')[0];
});
}
}
});into this:
Raven.config('DSN_HERE', {
filenameProcessor: function(filename) {
return filename.split('?')[0];
}
});pulse00, nevir, Mulder90 and oliviertassinari
Metadata
Metadata
Assignees
Labels
No labels