Filter headers (#566)
This commit is contained in:
@@ -68,7 +68,9 @@ if (process.env.NODE_ENV === 'development') {
|
||||
}
|
||||
|
||||
if (process.env.NODE_ENV === 'production' && process.env.BUGSNAG_KEY) {
|
||||
bugsnag.register(process.env.BUGSNAG_KEY);
|
||||
bugsnag.register(process.env.BUGSNAG_KEY, {
|
||||
filters: ['authorization'],
|
||||
});
|
||||
app.on('error', bugsnag.koaHandler);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user