Skip to content

Commit 4a05230

Browse files
soso
authored andcommitted
Suppress expired session log noise
1 parent 90f6f9d commit 4a05230

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

docs/changelog.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# 版本更新日志
22

3+
## v0.0.4
4+
5+
发布时间:2026-05-24
6+
7+
### 修复
8+
9+
- 过期面板登录态请求不再写入容器运行日志。
10+
- 旧浏览器页面、旧手机页面或未刷新的面板标签页可能继续用失效 token 轮询接口。
11+
- 这类请求属于正常鉴权拒绝,不影响 Emby 反代和播放,不再输出 `invalid or expired session` 日志。
12+
13+
### 验证
14+
15+
- `cargo fmt --check`
16+
- `cargo clippy --all-targets -- -D warnings`
17+
- `cargo test`
18+
319
## v0.0.3
420

521
发布时间:2026-05-24

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ impl AppError {
6464
impl IntoResponse for AppError {
6565
fn into_response(self) -> Response {
6666
match &self {
67-
Self::Unauthorized(_) => tracing::info!(error = %self, "request unauthorized"),
67+
Self::Unauthorized(_) => {}
6868
Self::Validation(_) => tracing::warn!(error = %self, "request validation failed"),
6969
_ => tracing::error!(error = %self, "request failed"),
7070
}

0 commit comments

Comments
 (0)