Mercurial
diff mrjunejune/main.c @ 206:240337164a80
[Seobeo] SSL should be used for large file as well lol.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Sun, 15 Feb 2026 11:41:53 -0800 |
| parents | e5aed6c36672 |
| children | e82b80b24012 |
line wrap: on
line diff
--- a/mrjunejune/main.c Sun Feb 15 11:07:52 2026 -0800 +++ b/mrjunejune/main.c Sun Feb 15 11:41:53 2026 -0800 @@ -1402,8 +1402,8 @@ if (!upload_result.success) { const char *error_msg = upload_result.error_message ? upload_result.error_message : "Failed to upload processed file"; - Seobeo_Log(SEOBEO_ERROR, "[MEDIA] ERROR: Failed to upload processed file for media_id=%lld: %s\n", - (long long)ctx->media_id, error_msg); + Seobeo_Log(SEOBEO_ERROR, "[MEDIA] ERROR: Failed to upload processed file for media_id=%lld: %s (HTTP status: %d)\n", + (long long)ctx->media_id, error_msg, upload_result.status_code); const char *update_error = "UPDATE media_uploads SET status='error', error_message=?, updated_at=strftime('%s','now') WHERE id=?"; const char *error_params[] = { error_msg, media_id_str };