mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-20 02:51:40 +08:00
chore(text): remove duplicate error log
This commit is contained in:
parent
ef111c36c0
commit
10abb50971
@ -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…
x
Reference in New Issue
Block a user