summaryrefslogtreecommitdiff
path: root/tests/test2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test2.cpp')
-rw-r--r--tests/test2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test2.cpp b/tests/test2.cpp
index 95b0f0a..349c159 100644
--- a/tests/test2.cpp
+++ b/tests/test2.cpp
@@ -67,6 +67,6 @@ int main( ) {
cout << "end." << endl;
} catch( sql_error& e ) {
- cerr << e.msg( ) << ": " << e.query( ) << endl;
+ cerr << e.what( ) << ": " << e.query( ) << endl;
}
}