beast
beast copied to clipboard
Add more debug log for BigQuery Exception
Failed to push records to sink FailureStatus{cause=com.google.cloud.bigquery.BigQueryException: www.googleapis.com, message='null'}
We've cases where push failed (which's retriable), but we don't have the logs, which needs to fixed.
@devdinu the message will stay null for most of the cases. Failurestatus has two constructors:
public FailureStatus(Exception cause)
and
public FailureStatus(Exception cause, String message)
Mostly I see that we have used the constructor without message. In these cases, message will be null. I think, we should remove this message logic as we are not populating at all. Cause itself is self descriptive