Issues::new_from_dir(): move error message to stderr
This commit is contained in:
parent
c217434071
commit
e79fc4917d
1 changed files with 2 additions and 2 deletions
|
|
@ -58,11 +58,11 @@ impl Issues {
|
|||
if direntry.metadata()?.is_dir() {
|
||||
match crate::issue::Issue::new_from_dir(direntry.path().as_path()) {
|
||||
Err(e) => {
|
||||
println!(
|
||||
eprintln!(
|
||||
"failed to parse issue {}, skipping",
|
||||
direntry.file_name().to_string_lossy()
|
||||
);
|
||||
println!("ignoring error: {:?}", e);
|
||||
eprintln!("ignoring error: {:?}", e);
|
||||
continue;
|
||||
}
|
||||
Ok(issue) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue