Updated error to be more expressive.
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s
This commit is contained in:
@@ -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),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user