From a558a0fe88aa6b5a9c8f9b3a9d88b2293e4c444e Mon Sep 17 00:00:00 2001 From: FahdShalhoub Date: Sun, 16 Aug 2026 20:26:29 +0300 Subject: [PATCH] LOG: Added Logs --- cms/internal/handlers/videos.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cms/internal/handlers/videos.go b/cms/internal/handlers/videos.go index 577b606..c048cd3 100644 --- a/cms/internal/handlers/videos.go +++ b/cms/internal/handlers/videos.go @@ -5,13 +5,13 @@ import ( "encoding/hex" "encoding/json" "fmt" + "log" "net/http" "path/filepath" "strings" - "time" - "thamanyah/cms/v2/internal/services" "thamanyah/cms/v2/internal/views" + "time" ) const ( @@ -97,6 +97,7 @@ func CompleteVideoUpload(w http.ResponseWriter, r *http.Request) { jobID, err := services.MediaConvertClient.QueueEncodingJob(r.Context(), key) if err != nil { + log.Printf("Something Went Wrong On Creation Of Transcoding Job: %s", err) renderUploadError(w, r, "Something Went Wrong On Creation Of Transcoding Job") return }