Print pending id
This commit is contained in:
parent
0295b5633f
commit
0cd2e9175f
2 changed files with 7 additions and 2 deletions
|
|
@ -128,12 +128,17 @@ export class Syncer {
|
|||
|
||||
const [promise, resolve, reject] = createPromise();
|
||||
|
||||
const id = uuidv4();
|
||||
const document = this.database.createNewPendingDocument(
|
||||
uuidv4(),
|
||||
id,
|
||||
relativePath,
|
||||
promise
|
||||
);
|
||||
|
||||
this.logger.debug(
|
||||
`Creating new pending document ${relativePath} with id ${id}`
|
||||
);
|
||||
|
||||
try {
|
||||
await this.syncQueue.add(async () =>
|
||||
this.internalSyncer.unrestrictedSyncLocallyCreatedFile(document)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue