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.
Includes-commit: 6f80ce2f7a
Replicated-from: https://github.com/cloudflare/pingora/pull/327
This commit is contained in:
parent
21f258399a
commit
3f9cc4ead8
2 changed files with 2 additions and 1 deletions
2
.bleep
2
.bleep
|
@ -1 +1 @@
|
||||||
a5e77a0c20967fd9ff223682be0fc043a6f35514
|
28f94f2a402bbf66341bdac8fa670caf5b7311e9
|
|
@ -179,6 +179,7 @@ pub fn get_fds_from<P>(_path: &P, _payload: &mut [u8]) -> Result<(Vec<RawFd>, us
|
||||||
where
|
where
|
||||||
P: ?Sized + NixPath + std::fmt::Display,
|
P: ?Sized + NixPath + std::fmt::Display,
|
||||||
{
|
{
|
||||||
|
log::error!("Upgrade is not currently supported outside of Linux platforms");
|
||||||
Err(Errno::ECONNREFUSED)
|
Err(Errno::ECONNREFUSED)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue