def read_server_start_options(server_start_options_reader: PyreServerStartOptionsReader, remote_logging: Optional[backend_arguments.RemoteLogging]) -> 'PyreServerStartOptions':
    try:
        LOG.info('Reading Pyre server configurations...')
        return server_start_options_reader()
    except Exception:
        _log_lsp_event(remote_logging=remote_logging, event=LSPEvent.NOT_CONFIGURED, normals={'exception': traceback.format_exc()})
        raise
def read_server_start_options(server_start_options_reader: PyreServerStartOptionsReader, remote_logging: Optional[backend_arguments.RemoteLogging]) -> 'PyreServerStartOptions':
    try:
        LOG.info('Reading Pyre server configurations...')
        return server_start_options_reader()
    except Exception:
        _log_lsp_event(remote_logging=remote_logging, event=LSPEvent.NOT_CONFIGURED, normals={'exception': traceback.format_exc()})
        raise