aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2025-05-19 21:52:29 +0000
committerMario <mario@mariovavti.com>2025-05-19 21:52:29 +0000
commit2e7f806c153327ca69c35939bb05a9b231fb070a (patch)
tree80fe3a91234e90cc7da300837325c185151702ec
parent4ed8e7b469872bd4153e41ae1e812a2cc1fd23c8 (diff)
downloadvolse-hubzilla-2e7f806c153327ca69c35939bb05a9b231fb070a.tar.gz
volse-hubzilla-2e7f806c153327ca69c35939bb05a9b231fb070a.tar.bz2
volse-hubzilla-2e7f806c153327ca69c35939bb05a9b231fb070a.zip
add logging on failure
-rw-r--r--include/photo/photo_driver.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/photo/photo_driver.php b/include/photo/photo_driver.php
index 15baa33b4..93410aed1 100644
--- a/include/photo/photo_driver.php
+++ b/include/photo/photo_driver.php
@@ -149,6 +149,8 @@ function guess_image_type($filename, $data = []) {
}
}
+ logger('failed to guess image type'), LOGGER_DEBUG);
+
return null;
}