This commit is contained in:
Dominik Werder
2024-09-06 19:08:54 +02:00
parent de4569d686
commit f5909ea03c
23 changed files with 818 additions and 301 deletions
+6
View File
@@ -60,6 +60,12 @@ impl From<dbconn::channelconfig::Error> for Error {
use dbconn::channelconfig::Error::*;
match value {
NotFound(chn, _) => Self::NotFoundChannel(chn),
SeriesNotFound(backend, series) => Self::NotFoundChannel(SfDbChannel::from_full(
backend,
Some(series),
"",
netpod::SeriesKind::ChannelData,
)),
_ => Self::ChannelConfig(value),
}
}