Compile-time settings (established with the "configure" script)
Version: freetds v1.00.21
freetds.conf directory: /usr/local/etc
MS db-lib source compatibility: no
Sybase binary compatibility: no
Thread safety: yes
iconv library: yes
TDS version: 7.3
iODBC: no
unixodbc: no
SSPI "trusted" logins: no
Kerberos: no
OpenSSL: yes
GnuTLS: no
MARS: no
FreeTDS Version
Latest
Description
I want to make things failsafe.
If the database server is down, or something goes wrong, TinyTds throws TinyTds::Error. But I can't catch that error. All I want to do is to write log for that and show an error page for user.
Before submitting an issue please check these first!
$ tsql -C
to find out.If none of these help. Please fill out the following:
Environment
Operating System
Distributor ID: Ubuntu Description: Ubuntu 16.04.3 LTS Release: 16.04 Codename: xenial Linux TECH-HS 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
TinyTDS Version and Information
Compile-time settings (established with the "configure" script) Version: freetds v1.00.21 freetds.conf directory: /usr/local/etc MS db-lib source compatibility: no Sybase binary compatibility: no Thread safety: yes iconv library: yes TDS version: 7.3 iODBC: no unixodbc: no SSPI "trusted" logins: no Kerberos: no OpenSSL: yes GnuTLS: no MARS: no
FreeTDS Version
Latest
Description
I want to make things failsafe.
If the database server is down, or something goes wrong, TinyTds throws
TinyTds::Error
. But I can't catch that error. All I want to do is to write log for that and show an error page for user.I've searched long time but I can't find how.