Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.

Commit 903eb7f

Browse files
fix: error message for missing access token
1 parent a969009 commit 903eb7f

4 files changed

Lines changed: 10 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.19.0] - 2025-06-13
6+
7+
### Bug Fixes
8+
9+
- Error message for missing access token
10+
511
## [0.18.0] - 2025-06-13
612

713
### Miscellaneous Tasks

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "streamstore-cli"
33
description = "CLI for S2"
4-
version = "0.18.0"
4+
version = "0.19.0"
55
edition = "2024"
66
license = "Apache-2.0"
77
keywords = ["streamstore", "s2", "log", "stream", "s3"]

src/config.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ impl<'de> Deserialize<'de> for S2Config {
2727
Old { auth_token: String },
2828
}
2929

30-
let token = TokenField::deserialize(deserializer)?;
30+
let token = TokenField::deserialize(deserializer)
31+
.map_err(|_| de::Error::custom("Missing required field: 'access_token'"))?;
3132

3233
Ok(S2Config {
3334
access_token: match token {

0 commit comments

Comments
 (0)