-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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];
}
});Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Fields
Give feedbackNo fields configured for issues without a type.