Fix a long-standing bug where errors from federation did not propagate to the client.