diff --git a/gene-pool-backend/BlobStorageHelper.cs b/gene-pool-backend/BlobStorageHelper.cs index 2ade6ff..eb015dd 100644 --- a/gene-pool-backend/BlobStorageHelper.cs +++ b/gene-pool-backend/BlobStorageHelper.cs @@ -46,8 +46,10 @@ public async Task UploadLinkToBlobAsync(string url) { Debug.WriteLine("I got here 1"); FileHelper.SaveVideoToDisk(url, mp4file); - if (!FileHelper.ToWavFormat(mp4file, wavfile)) { - return 2; + int res = FileHelper.ToWavFormat(mp4file, wavfile); + + if (res != 0) { + return res; } // Create the container and return a container client object