diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 56748a50a1..fc725129cd 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -6,6 +6,7 @@ - **`/version` not working**: When installed from PyPI (e.g. `pip install rsstt`), the `/version` command might cause an error. This was a regression introduced in v2.7.0. - **Bot managers can set monitoring intervals shorter than limit**: Due to the breaking change introduced in v2.8.0, the privilege of bot managers to set intervals shorter than the minimal monitoring interval became useless. While v2.8.0 only applied this limitation when monitoring the updates of feeds, this release also applies it to the attempts by bot managers to change the monitoring interval for a subscription. Note: bot managers can always lower the minimal monitoring interval by adjusting `minimal_interval` in `/set_option` (see also [Advanced Settings](advanced-settings.md)), but doing so will also permit anyone who is able to use the bot to set shorter intervals. +- **Minor bug fixes** ## v2.8.0: Retain post order, rewritten monitor, and more diff --git a/docs/CHANGELOG.zh.md b/docs/CHANGELOG.zh.md index 32adc8c024..9f5469846b 100644 --- a/docs/CHANGELOG.zh.md +++ b/docs/CHANGELOG.zh.md @@ -6,6 +6,7 @@ - **`/version` 不工作**: 当从 PyPI 安装时 (例如 `pip install rsstt`), `/version` 命令可能会导致错误。这是在 v2.7.0 中引入的一个回归 (regression)。 - **Bot 管理员可以设置比限制更短的监控间隔**: 由于 v2.8.0 中引入的一个重大变更,bot 管理员可以设置比最小监控间隔更短的间隔的特权变得毫无意义。虽然 v2.8.0 只在监控 feed 的更新时应用了这个限制,但这个版本也将它应用于 bot 管理员的更改订阅监控间隔的尝试。注意: bot 管理员总是可以通过调整 `/set_option` 中的 `minimal_interval` 来降低最小监控间隔 (另请参阅 [高级设置](advanced-settings.md)),但这样做也会允许任何能够使用 bot 的人设置更短的间隔。 +- **次要的 bug 修复** ## v2.8.0: 保留文章顺序,重写的监视器和更多 diff --git a/src/helpers/pipeline/_exceptions.py b/src/helpers/pipeline/_exceptions.py index bc3886ca48..0826d16945 100644 --- a/src/helpers/pipeline/_exceptions.py +++ b/src/helpers/pipeline/_exceptions.py @@ -14,7 +14,7 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -class StopPipeline(Exception): - def __init__(self, exception: Exception = None, *args): +class StopPipeline(BaseException): + def __init__(self, exception: BaseException = None, *args): super().__init__(*args) self.exception = exception