Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust error message when connection is dead #825

Merged
merged 1 commit into from
May 15, 2020

Conversation

wpolicarpo
Copy link
Member

TinyTDS returns false instead of raising an exception if connection fails while
executing a query.

Getting around this by raising an exception ourselves while this PR
rails-sqlserver/tiny_tds#469 is not released.

The solution came from #717 and #818, I am just adjusting the error
message to make it the same as that TinyTDS PR.

TinyTDS returns false instead of raising an exception if connection fails while
executing a query.

Getting around this by raising an exception ourselves while this PR
rails-sqlserver/tiny_tds#469 is not released.

The solution came from #717 and #818, I am just adjusting the error
message to make it the same as that TinyTDS PR.
@wpolicarpo wpolicarpo force-pushed the adjust-dead-connection-error-message branch from 0d77bac to 7dabfb1 Compare May 15, 2020 12:49
@wpolicarpo wpolicarpo merged commit 459c2be into master May 15, 2020
@wpolicarpo wpolicarpo deleted the adjust-dead-connection-error-message branch May 15, 2020 13:42
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.

1 participant