fix: expose safe remote upload errors

This commit is contained in:
Hide_D committed 2026-08-07 14:59:44 +00:00
1 parent eeb931d3f0
commit f3bf490df3
4 files changed
+165 -12

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@ class UploadImage extends \sammo\BaseAPI
RemoteUserIconUploadClient::uploadContentConfigured($imgFullName, $contentType, $imageData);
$remotePath = RemoteUserIconUploadClient::getConfiguredContentPublicUrl($imgFullName);
} catch (\Throwable $error) {
error_log('Remote content image upload failed: ' . $error->getMessage());
RemoteUserIconUploadClient::logFailure('content-image', $error);
return '원격 이미지 저장소 업로드에 실패했습니다!';
}
} else {