Updated error to be more expressive.
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s

This commit is contained in:
2026-02-25 10:16:50 -05:00
parent 7e067fde8c
commit 5251689158
15 changed files with 211 additions and 106 deletions

View File

@@ -313,7 +313,7 @@ mod queues {
MsgAction::Register(data) => {
let regmsg = data.get_msg();
match data.get_msg() {
RegMsg::Error(err) => match err.error_id() {
RegMsg::Error(err) => match err.get_error_ids().back().unwrap() {
ErrorID::NameNotFound => {}
_ => unreachable!("got {:?} should have been missing name", err),
},