fix(autosave): error.message can be readonly

This commit is contained in:
Paul Chavard 2022-07-26 11:02:15 +02:00
parent 316effff40
commit 01c0b4350b

View file

@ -85,7 +85,6 @@ export class AutosaveStatusController extends ApplicationController {
private logError(error: ResponseError) {
if (error && error.message) {
error.message = `[Autosave] ${error.message}`;
console.error(error);
this.globalDispatch('sentry:capture-exception', error);
}