mirror of
https://github.com/martinvonz/jj.git
synced 2025-02-01 00:50:57 +00:00
cli: print "Failed to wait on pager" as warning
Since it doesn't terminate jj, it can be considered a warning.
This commit is contained in:
parent
31525705db
commit
078acc9eee
1 changed files with 1 additions and 1 deletions
|
@ -439,7 +439,7 @@ impl Ui {
|
||||||
// It's possible (though unlikely) that this write fails, but
|
// It's possible (though unlikely) that this write fails, but
|
||||||
// this function gets called so late that there's not much we
|
// this function gets called so late that there's not much we
|
||||||
// can do about it.
|
// can do about it.
|
||||||
writeln!(self.error_no_heading(), "Failed to wait on pager: {e}").ok();
|
writeln!(self.warning_default(), "Failed to wait on pager: {e}").ok();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
UiOutput::BuiltinPaged { pager } => {
|
UiOutput::BuiltinPaged { pager } => {
|
||||||
|
|
Loading…
Reference in a new issue