Skip to content

Conversation

woksin
Copy link

@woksin woksin commented Oct 15, 2025

LogSuccess(NpgsqlBatch batch) did not get duration safely and for some reason this could cause an InvalidOperationException due to _timestamp not having a value. This occurred some times, but most of the times not.

Extracted into method that is used where duration is needed that safely graps the timestamp or 0.Seconds if it has no value

…to method that is used where duration is needed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants