WopiStorage: turn err to warning logging for PutFile

Let the error detail the error origins.

Signed-off-by: Méven Car <meven.car@collabora.com>
Change-Id: I67a98dfe1001fd663af464ec5ec417330d0fbfb1
private/mmeeks/bgsaveunit
Méven Car 2024-04-15 17:37:54 +02:00 committed by Méven
parent 4989876cc6
commit fb96ec89a3
1 changed files with 1 additions and 1 deletions

View File

@ -867,7 +867,7 @@ WopiStorage::handleUploadToStorageResponse(const WopiUploadDetails& details,
}
else
{
LOG_ERR("Invalid or missing JSON in " << wopiLog << " HTTP_OK response.");
LOG_WRN("Invalid or missing JSON in " << wopiLog << " HTTP_OK response. Expected json object with a LastModifiedTime value");
}
}
else if (details.httpResponseCode == http::StatusCode::PayloadTooLarge)