fetchBuildLog static method
Future<List<LogRecord> >
fetchBuildLog(
- Client cloudApiClient, {
- required String projectId,
- required UuidValue attemptId,
Implementation
static Future<List<LogRecord>> fetchBuildLog(
final Client cloudApiClient, {
required final String projectId,
required final UuidValue attemptId,
}) async {
try {
return await cloudApiClient.logs
.fetchBuildLog(cloudCapsuleId: projectId, attemptId: attemptId)
.toList();
} on Exception catch (e, s) {
throw FailureException.nested(e, s, 'Error while fetching log records');
}
}