Correct error handling for `server_chain`.