suprressing login incorrect error

2002-08-20 Thread Levine, Peter W
Hi, I'm using DBI in a cgi-bin script. I can't find a way to suppress the error message DB-Library: Login incorrect if DBI-connect fails. This is an issue because the raw output causes a web server 500 error. I've tried setting PrintError, WarnError to false TO no avail. I've also tried

Re: suprressing login incorrect error

2002-08-20 Thread David N Murray
Any luck with RaiseError=0,PrintError=0? That seems to work for me. On Aug 19, Levine, Peter W scribed: Hi, I'm using DBI in a cgi-bin script. I can't find a way to suppress the error message DB-Library: Login incorrect if DBI-connect fails. This is an issue because the raw output causes

RE: suprressing login incorrect error

2002-08-20 Thread timothy . helck
Peter, You could put your DBI-connect within an eval block. Tim Helck -Original Message- From: David N Murray [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 7:57 AM To: Levine, Peter W Cc: '[EMAIL PROTECTED]' Subject: Re: suprressing login incorrect error Any luck