Changeset 2083

Show
Ignore:
Timestamp:
03/22/11 14:49:44 (2 years ago)
Author:
ahu
Message:

improve gsqlite3backend error message as suggested by ticket 190.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/modules/gsqlite3backend/ssqlite3.cc

    r2047 r2083  
    114114 
    115115  // Something went wrong, complain. 
    116   throw sPerrorException( "Error while retrieving SQLite query results" ); 
     116  throw sPerrorException( "Error while retrieving SQLite query results: "+string(sqlite3_errmsg(m_pDB) )); 
    117117 
    118118  // Prevent some compilers from complaining.