mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 10:14:06 +02:00
eprintln -> tracing
This commit is contained in:
parent
e513fc950c
commit
de8cb2ba88
1 changed files with 2 additions and 1 deletions
|
|
@ -18,6 +18,7 @@ use crate::nullhasher::NullHasherBuilder;
|
||||||
use crate::{Result, Stream};
|
use crate::{Result, Stream};
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use std::cell::RefCell;
|
use std::cell::RefCell;
|
||||||
|
use tracing::warn;
|
||||||
|
|
||||||
#[derive(Default, Clone, Serialize, Deserialize)]
|
#[derive(Default, Clone, Serialize, Deserialize)]
|
||||||
pub struct DemoMeta {
|
pub struct DemoMeta {
|
||||||
|
|
@ -159,7 +160,7 @@ impl<'a> ParserState {
|
||||||
if let Some(table) = send_tables.remove(&class.data_table) {
|
if let Some(table) = send_tables.remove(&class.data_table) {
|
||||||
self.send_tables.push(table);
|
self.send_tables.push(table);
|
||||||
} else {
|
} else {
|
||||||
eprintln!("class without table? {} {}", class.name, class.data_table);
|
warn!(class = debug(class), "class without table");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue