diff --git a/src/components/Main.vue b/src/components/Main.vue index a64ac1c3..9784534d 100644 --- a/src/components/Main.vue +++ b/src/components/Main.vue @@ -9,6 +9,7 @@ diff --git a/src/main/Timeline.ts b/src/main/Timeline.ts index 42b52025..5a0bfa76 100644 --- a/src/main/Timeline.ts +++ b/src/main/Timeline.ts @@ -54,8 +54,8 @@ export default class Timeline { let newDoc = await db.insert(docs) event.sender.send(`add-timeline`, newDoc) } catch (err) { - let error = new Error("You cannot login already logined account.") - error.name = "ERROR_YOU_TRY_ANOTHER_ACCOUNT" + let error = new Error("Cannot save timeline.") + error.name = "ERROR_ADD_TIMELINE" event.sender.send(`add-timeline`, undefined, error) } }