diff options
Diffstat (limited to 'tests/test7.cpp')
-rw-r--r-- | tests/test7.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test7.cpp b/tests/test7.cpp index a4ad588..65f2438 100644 --- a/tests/test7.cpp +++ b/tests/test7.cpp @@ -72,6 +72,6 @@ int main( ) { cout << "end." << endl; } catch( sql_error& e ) { - cerr << e.msg( ) << ": " << e.query( ) << endl; + cerr << e.what( ) << ": " << e.query( ) << endl; } } |