Skip to content

#2299: added missing null check of e.getCause().#2300

Merged
lilgreenbird merged 1 commit intomicrosoft:mainfrom
jesperah:main
Jan 15, 2024
Merged

#2299: added missing null check of e.getCause().#2300
lilgreenbird merged 1 commit intomicrosoft:mainfrom
jesperah:main

Conversation

@jesperah
Copy link
Copy Markdown
Contributor

if the caught exception does not have a cause then pass the caught exception as the cause to the SQLTimeoutException instead of the null "e.getCause()". (#2299)

if the caught exception does not have a cause then pass the caught exception as the cause to the SQLTimeoutException instead of the null "e.getCause()". (#2299)
@lilgreenbird lilgreenbird merged commit 0f04ce6 into microsoft:main Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed/Merged PRs

Development

Successfully merging this pull request may close these issues.

SQLServerStatement#executeCommand missing null check on SQLServerException#getCause.

4 participants