mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 10:01:54 +00:00
log this case
This commit is contained in:
parent
de9c681fe2
commit
70ec8f2963
@ -546,6 +546,12 @@ NOTIFIED_OBJECT_DISAPPEARED = MessageType(
|
|||||||
u"A path which generated a notification was not found on the filesystem. This is normal.",
|
u"A path which generated a notification was not found on the filesystem. This is normal.",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
NO_DATABASE_ENTRY = MessageType(
|
||||||
|
u"magic-folder:no-database-entry",
|
||||||
|
[],
|
||||||
|
u"There is no local database entry for a particular relative path in the magic folder.",
|
||||||
|
)
|
||||||
|
|
||||||
NOT_UPLOADING = MessageType(
|
NOT_UPLOADING = MessageType(
|
||||||
u"magic-folder:not-uploading",
|
u"magic-folder:not-uploading",
|
||||||
[],
|
[],
|
||||||
@ -1335,6 +1341,7 @@ class Uploader(QueueMixin):
|
|||||||
|
|
||||||
db_entry = self._db.get_db_entry(relpath_u)
|
db_entry = self._db.get_db_entry(relpath_u)
|
||||||
if db_entry is None:
|
if db_entry is None:
|
||||||
|
NO_DATABASE_ENTRY.log()
|
||||||
return False
|
return False
|
||||||
|
|
||||||
last_downloaded_timestamp = now # is this correct?
|
last_downloaded_timestamp = now # is this correct?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user