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.

Includes-commit: 6f80ce2
Replicated-from: cloudflare#327
  • Loading branch information
jamesmunns authored and eaufavor committed Aug 30, 2024
1 parent f3a5a85 commit acffb8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .bleep
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a5e77a0c20967fd9ff223682be0fc043a6f35514
28f94f2a402bbf66341bdac8fa670caf5b7311e9
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 acffb8a

Please sign in to comment.