mirror of
https://github.com/cloudflare/pingora.git
synced 2024-09-20 02:31:35 +02:00
Add error log when attempting to upgrade
I was attempting to test upgrades on MacOS, and was a bit confused at the ECONNREFUSED error. Having this log would help others avoiding troubleshooting this until it is supported.
This commit is contained in:
parent
42a847d372
commit
6f80ce2f7a
1 changed files with 1 additions and 0 deletions
|
@ -179,6 +179,7 @@ pub fn get_fds_from<P>(_path: &P, _payload: &mut [u8]) -> Result<(Vec<RawFd>, us
|
|||
where
|
||||
P: ?Sized + NixPath + std::fmt::Display,
|
||||
{
|
||||
log::error!("Upgrade is not currently supported outside of Linux platforms");
|
||||
Err(Errno::ECONNREFUSED)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue