Skip to content

Conversation

@Exirel
Copy link
Contributor

@Exirel Exirel commented Jul 9, 2021

Description

Tin (fix #2152).

Also I added some logging, because why not.

Checklist

  • I have read CONTRIBUTING.md
  • I can and do license this contribution under the EFLv2
  • No issues are reported by make qa (runs make quality and make test)
  • I have tested the functionality of the things this change touches

@Exirel Exirel added the Bugfix Generally, PRs that reference (and fix) one or more issue(s) label Jul 9, 2021
@Exirel Exirel added this to the 7.1.2 milestone Jul 9, 2021
@Exirel Exirel force-pushed the translate-error-handling branch from 07cb535 to 12af23d Compare July 9, 2021 21:41
@Exirel Exirel force-pushed the translate-error-handling branch from 12af23d to a5d4928 Compare July 9, 2021 21:46
Copy link
Member

@dgw dgw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the one hand, requests.exceptions.Timeout could be handled by the same except block as its parent class requests.exceptions.RequestException. But it's not bad to handle it separately and put more info in the error sent to IRC.

@dgw dgw merged commit 1b5c207 into sopel-irc:master Jul 10, 2021
dgw pushed a commit that referenced this pull request Jul 10, 2021
This is #2153, cherry-picked back to 7.1.x by @dgw.
@Exirel Exirel deleted the translate-error-handling branch December 31, 2021 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bugfix Generally, PRs that reference (and fix) one or more issue(s)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unhandled exception in translate plugin

2 participants