mirror of
https://github.com/zaphar/kitchen.git
synced 2025-07-22 19:40:14 -04:00
warn instead of error for missing categories
This commit is contained in:
parent
71a4e093b9
commit
dc218bfaa8
@ -15,7 +15,7 @@ use std::collections::{BTreeMap, BTreeSet};
|
||||
|
||||
use reqwasm::http;
|
||||
use sycamore::prelude::*;
|
||||
use tracing::{debug, error, info, instrument};
|
||||
use tracing::{debug, error, info, instrument, warn};
|
||||
use web_sys::{window, Storage};
|
||||
|
||||
use recipes::{parse, Ingredient, IngredientAccumulator, Recipe};
|
||||
@ -93,7 +93,7 @@ impl AppService {
|
||||
.map_err(|e| format!("{:?}", e))?;
|
||||
}
|
||||
Ok(None) => {
|
||||
error!("There is no category file");
|
||||
warn!("There is no category file");
|
||||
}
|
||||
Err(e) => {
|
||||
error!("{}", e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user