fn log_errs_and_ok<A, T: NamedEntity>( result: Result<Result<A, BridgeError>, Elapsed>, action: &str, ) -> Option<A>