block / block/buzz

messages get on a nonexistent channel returns [] with exit 0

Open
#6,389 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
32.7k
Forks
4.3k
Avg merge
1d 13h
Merged PRs (30d)
253

Description

## Repro (stock CLI v0.5.2)

```
buzz messages get --channel 00000000-0000-4000-8000-000000000000 --limit 1
```

Prints `[]` and exits 0. That is indistinguishable from a real empty channel.

## Expected

Nonexistent / unauthorized channel IDs should fail closed (nonzero exit and an error), not look like an empty history.

## Impact

Scripts cannot tell "no messages yet" from "wrong UUID" or "not a member".

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.