Call random from safeeval, error handling