Skip to content

Commit

Permalink
Add error log when attempting to upgrade
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jamesmunns authored Jul 15, 2024
1 parent 42a847d commit 6f80ce2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pingora-core/src/server/transfer_fd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 6f80ce2

Please sign in to comment.