mirror of
https://codeberg.org/YGGverse/ytd.git
synced 2026-04-08 12:55:32 +00:00
update panic message
This commit is contained in:
parent
4e2f3d5de4
commit
48553c403d
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ async fn main() {
|
||||||
for (i, item) in items.into_iter().enumerate() {
|
for (i, item) in items.into_iter().enumerate() {
|
||||||
if !channel_item_id_regex.is_match(&item.id) {
|
if !channel_item_id_regex.is_match(&item.id) {
|
||||||
panic!(
|
panic!(
|
||||||
"received unexpected item ID `{}`; unsafe to continue in the exec context",
|
"API returned unexpected item ID `{}`; unsafe to continue in the exec context",
|
||||||
&item.id
|
&item.id
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue