Skip to content

Commit

Permalink
more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-knozderko committed Apr 22, 2024
1 parent d11aaf5 commit 9a63865
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Snowflake.Data/Core/SFStatement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,15 @@ internal QueryStatus GetQueryStatus(string queryId)
{
logger.Warn("Executing query to get status !!!");
response = _restRequester.Get<QueryStatusResponse>(queryRequest);
logger.Warn($"Executed query to get status !!! code: {response.code} message: {response.message} data: {response.data}, queriesCount: {response.data.queries.Count}");
if (response.data == null)
{
logger.Warn("No data in executed query status response !!!");
}
if (response.data.queries == null)
{
logger.Warn("No queries in data in executed query status response !!!");
}
logger.Warn($"Executed query to get status !!! code: {response.code} message: {response.message} data: {response.data}, queriesCount: {response.data.queries?.Count}");
if (SessionExpired(response))
{
SfSession.renewSession();
Expand Down

0 comments on commit 9a63865

Please sign in to comment.