Merge branch 'release/3.5.5'
This commit is contained in:
@@ -6,7 +6,7 @@ import Bugsnag from '@bugsnag/js';
|
|||||||
declare const __VERSION__: string;
|
declare const __VERSION__: string;
|
||||||
|
|
||||||
function redactFilePath(line: string): string {
|
function redactFilePath(line: string): string {
|
||||||
const fileName = line.match(/\w+\.(html|js)?.*/)?.[0];
|
const fileName = line.match(/\w+\.(html|js)/)?.[0];
|
||||||
const redacted = '<redacted file path>';
|
const redacted = '<redacted file path>';
|
||||||
if (fileName) {
|
if (fileName) {
|
||||||
return redacted + '/' + fileName;
|
return redacted + '/' + fileName;
|
||||||
@@ -28,6 +28,7 @@ export function startErrorReporting() {
|
|||||||
collectUserIp: false,
|
collectUserIp: false,
|
||||||
autoTrackSessions: false,
|
autoTrackSessions: false,
|
||||||
releaseStage: isDev ? 'development' : undefined,
|
releaseStage: isDev ? 'development' : undefined,
|
||||||
|
enabledBreadcrumbTypes: ['error', 'log'],
|
||||||
onError(event) {
|
onError(event) {
|
||||||
/**
|
/**
|
||||||
* Redact any data that could be used to identify user,
|
* Redact any data that could be used to identify user,
|
||||||
|
|||||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "standard-notes-web",
|
"name": "standard-notes-web",
|
||||||
"version": "3.5.4",
|
"version": "3.5.5",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "standard-notes-web",
|
"name": "standard-notes-web",
|
||||||
"version": "3.5.4",
|
"version": "3.5.5",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user