This commit is contained in:
Shish 2024-01-09 22:13:56 +00:00
parent 7b9201cb42
commit 28a9724ffa

View file

@ -366,7 +366,7 @@ class DanbooruApi extends Extension
} else {
$page->add_http_header("Location: $newid");
}
} catch (UploadException $ex) {
} catch (UploadException $ex) {
$page->set_code(409);
$page->add_http_header("X-Danbooru-Errors: exception - " . $ex->getMessage());
}