Skip to content

Commit

Permalink
Allow transcription to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
KillerX committed Jan 27, 2025
1 parent 81a7ff4 commit 3794ffd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions workflows/ingest/bmm_simple_upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package ingestworkflows

import (
"fmt"
"github.com/bcc-code/bcc-media-flows/services/telegram"
"strconv"

"github.com/bcc-code/bcc-media-flows/services/telegram"

"github.com/bcc-code/bcc-media-flows/services/rclone"

"github.com/bcc-code/bcc-media-flows/paths"
Expand Down Expand Up @@ -98,7 +99,7 @@ func BmmIngestUpload(ctx workflow.Context, params BmmSimpleUploadParams) (*BmmSi
}).Get(ctx, nil)
if err != nil {
wfutils.SendTelegramErorr(ctx, telegram.ChatBMM, res.AssetID, err)
return nil, err
// Continue. Just because we failed transcription we should not stop the workflow
}

destinations := []string{export.AssetExportDestinationBMM.Value}
Expand Down

0 comments on commit 3794ffd

Please sign in to comment.