Skip to content

Commit 637e730

Browse files
committed
fix: include IsTrashed and IsArchived in debug log for Immich assets
1 parent 411635a commit 637e730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/cmd/upload/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ func (upCmd *UpCmd) getImmichAssets(ctx context.Context, updateFn progressUpdate
201201
default:
202202
received++
203203
upCmd.assetIndex.addImmichAsset(a)
204-
upCmd.app.Log().Debug("Immich asset:", "ID", a.ID, "FileName", a.OriginalFileName, "Capture date", a.ExifInfo.DateTimeOriginal, "CheckSum", a.Checksum, "FileSize", a.ExifInfo.FileSizeInByte, "DeviceAssetID", a.DeviceAssetID, "OwnerID", a.OwnerID)
204+
upCmd.app.Log().Debug("Immich asset:", "ID", a.ID, "FileName", a.OriginalFileName, "Capture date", a.ExifInfo.DateTimeOriginal, "CheckSum", a.Checksum, "FileSize", a.ExifInfo.FileSizeInByte, "DeviceAssetID", a.DeviceAssetID, "OwnerID", a.OwnerID, "IsTrashed", a.IsTrashed, "IsArchived", a.IsArchived)
205205
if updateFn != nil {
206206
updateFn(received, totalOnImmich)
207207
}

0 commit comments

Comments
 (0)