function hardAssertIfStatusOk()

in cloudprober/grpc_gpc_prober/spanner_probes.php [15:22]


function hardAssertIfStatusOk($status)
{
    if ($status->code !== Grpc\STATUS_OK) {
        echo "Call did not complete successfully. Status object:\n";
        var_dump($status);
        exit(1);
    }
}