Show
Ignore:
Timestamp:
03/30/07 09:36:54 (6 years ago)
Author:
ahu
Message:

be a bit more precise about database errrors in logging

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/packethandler.cc

    r992 r1004  
    901901  } 
    902902  catch(DBException &e) { 
    903     L<<Logger::Error<<"Database module reported condition which prevented lookup - sending out servfail"<<endl; 
     903    L<<Logger::Error<<"Database module reported condition which prevented lookup ("+e.reason+") sending out servfail"<<endl; 
    904904    r->setRcode(RCode::ServFail); 
    905905    S.inc("servfail-packets");