Skip to content

Commit dcce750

Browse files
committed
fix(messages): Add note about bookmarks app to error message
Signed-off-by: Marcel Klehr <[email protected]>
1 parent 2021d66 commit dcce750

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_locales/en/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"message": "E034: Remote bookmarks file is unreadable. Perhaps you forgot to set an encryption passphrase, or you set the wrong file format."
103103
},
104104
"Error035": {
105-
"message": "E035: Failed to create the following bookmark on the server: {0}"
105+
"message": "E035: Failed to create the following bookmark on the server: {0} -- Is the bookmarks app up to date?"
106106
},
107107
"Error036": {
108108
"message": "E036: Missing permissions to access the sync server"

src/errors/Error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ export class FileUnreadableError extends FloccusError {
294294
export class CreateBookmarkError extends FloccusError {
295295
public bookmark: Bookmark<TItemLocation>
296296
constructor(bookmark: Bookmark<TItemLocation>) {
297-
super(`E035: Failed to create the following bookmark on the server: ${bookmark.inspect()}`)
297+
super(`E035: Failed to create the following bookmark on the server: ${bookmark.inspect()} -- Is the bookmarks app up to date?`)
298298
this.code = 35
299299
this.bookmark = bookmark
300300
Object.setPrototypeOf(this, CreateBookmarkError.prototype)

0 commit comments

Comments
 (0)