From fe5a1336f089c6cd4ae32421d293e4262f268fef Mon Sep 17 00:00:00 2001 From: Julius Knorr Date: Fri, 13 Dec 2024 11:44:34 +0100 Subject: [PATCH] debug: Write exception to log Signed-off-by: Julius Knorr --- lib/Storage/Storage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Storage/Storage.php b/lib/Storage/Storage.php index fd5740a..aba4ad0 100644 --- a/lib/Storage/Storage.php +++ b/lib/Storage/Storage.php @@ -458,7 +458,7 @@ public function writeBack($tmpFile, $path) { $this->fileCache->set($serverUrl, ['instance' => $file]); } } catch (\Exception $e) { - // noop + logger('sharepoint')->error('Failed to write back: ' . $e->getMessage(), ['exception' => $e]); } }