refactor: hopefully a better log
This commit is contained in:
parent
4c1af08fb7
commit
ca6f8f788f
1 changed files with 1 additions and 2 deletions
|
|
@ -9,7 +9,6 @@ use crate::document::session::data::{CollectionKind, SessionData, SessionItem};
|
|||
use crate::document::session::store;
|
||||
use crate::document::DocumentContent;
|
||||
use crate::error::Error;
|
||||
use log::warn;
|
||||
use std::path::{Path, PathBuf};
|
||||
|
||||
/// The load state of the currently viewed document.
|
||||
|
|
@ -153,7 +152,7 @@ impl DocumentManager {
|
|||
if item.path.exists() {
|
||||
true
|
||||
} else {
|
||||
warn!(
|
||||
log::error!(
|
||||
"Session '{}': {}",
|
||||
session.name,
|
||||
Error::NotFound(item.path.display().to_string())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue