git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
avatars: parameter selects user tags
[minimedit.git]
/
thumb
/
index.php
diff --git
a/thumb/index.php
b/thumb/index.php
index 532499f6aa2f14f3cd2f4aea9dbd7481ae9feea5..1d369488c927b78399d9a2e208559286a109c595 100644
(file)
--- a/
thumb/index.php
+++ b/
thumb/index.php
@@
-16,7
+16,7
@@
if (!file_exists($imgpath)) {
try {
$target = mkthumb($imgpath, $width, $height);
}
-catch (
Exception
$e) {
+catch (
Throwable
$e) {
http_response_code($e->getCode() ?: 500);
$target = '500.png';
if (file_exists($target)) {