mirror of
https://github.com/zadam/trilium.git
synced 2025-10-10 07:28:09 +08:00
chore(text): remove duplicate error log
This commit is contained in:
parent
ef111c36c0
commit
10abb50971
1 changed files with 2 additions and 3 deletions
|
@ -181,8 +181,7 @@ export default class EditableTextTypeWidget extends AbstractTextTypeWidget {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
logInfo(`CKEditor crash logs: ${JSON.stringify(this.watchdog.crashes)}`);
|
logError(`CKEditor crash logs: ${JSON.stringify(this.watchdog.crashes, null, 4)}`);
|
||||||
this.watchdog.crashes.forEach((crashInfo) => console.log(crashInfo));
|
|
||||||
|
|
||||||
if (currentState === "crashedPermanently") {
|
if (currentState === "crashedPermanently") {
|
||||||
dialogService.info(`Editing component keeps crashing. Please try restarting Trilium. If problem persists, consider creating a bug report.`);
|
dialogService.info(`Editing component keeps crashing. Please try restarting Trilium. If problem persists, consider creating a bug report.`);
|
||||||
|
|
Loading…
Add table
Reference in a new issue