From 8b079badb8a2c1d523c279d5c95207877529683d Mon Sep 17 00:00:00 2001 From: emranemran Date: Tue, 13 Dec 2022 11:56:18 -0800 Subject: [PATCH] mediaconvert: add debug to root-cause URL mangling bug --- clients/mediaconvert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/mediaconvert.go b/clients/mediaconvert.go index dbee1ede9..d96a5c5b9 100644 --- a/clients/mediaconvert.go +++ b/clients/mediaconvert.go @@ -86,7 +86,7 @@ func (mc *MediaConvert) Transcode(ctx context.Context, args TranscodeJobArgs) er // AWS MediaConvert adds the .m3u8 to the end of the output file name mcOutputRelPath := path.Join("output", targetDir, "index") - log.Log(args.RequestID, "Copying input file to S3", "source", args.InputFile, "dest", mc.opts.S3AuxBucket.JoinPath(mcInputRelPath)) + log.Log(args.RequestID, "Copying input file to S3", "source", args.InputFile, "dest", mc.opts.S3AuxBucket.JoinPath(mcInputRelPath), "destOSBaseURL", mc.osTransferBucketURL.String(), "filename", mcInputRelPath) err := copyFile(ctx, args.InputFile.String(), mc.osTransferBucketURL.String(), mcInputRelPath) if err != nil { return fmt.Errorf("error copying input file to S3: %w", err)