Throw exception if download media fail by rafwell · Pull Request #1704 · EvolutionAPI/evolution-api · GitHub
Skip to content

Throw exception if download media fail#1704

Merged
DavidsonGomes merged 2 commits intoEvolutionAPI:developfrom
rafwell:develop
Jul 14, 2025
Merged

Throw exception if download media fail#1704
DavidsonGomes merged 2 commits intoEvolutionAPI:developfrom
rafwell:develop

Conversation

@rafwell
Copy link
Copy Markdown
Contributor

@rafwell rafwell commented Jul 9, 2025

Caras, eu perdi horas tentando debugar um erro nada a ver porque essa função não estava levantando uma exceção quando falhava no download, isso fazia os objetos chegarem incompletos no restante do codigo, gerando outros erros.

Ref: #1699

Summary by Sourcery

Throw errors when media download fails to ensure failures are surfaced

Bug Fixes:

  • Throw error when unable to determine mediaType for fallback download
  • Rethrow the fallback download error to prevent silent failures

@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai Bot commented Jul 9, 2025

@KokeroO
Copy link
Copy Markdown
Contributor

KokeroO commented Jul 10, 2025

Opa. De curiosidade qual erro teve?

@rafwell
Copy link
Copy Markdown
Contributor Author

rafwell commented Jul 11, 2025

@DavidsonGomes DavidsonGomes merged commit 4a5696e into EvolutionAPI:develop Jul 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants