aboutsummaryrefslogtreecommitdiff
path: root/migrate
diff options
context:
space:
mode:
Diffstat (limited to 'migrate')
-rw-r--r--migrate/migrate.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/migrate/migrate.cxx b/migrate/migrate.cxx
index 4001bf9..98bdfbd 100644
--- a/migrate/migrate.cxx
+++ b/migrate/migrate.cxx
@@ -335,7 +335,7 @@ catch (const database_locked&)
}
catch (const recoverable& e)
{
- cerr << "database recoverable error: " << e.what () << endl;
+ cerr << "database recoverable error: " << e << endl;
return 3;
}
catch (const cli::exception& e)
@@ -351,6 +351,6 @@ catch (const failed&)
//
catch (const std::exception& e)
{
- cerr << "error: " << e.what () << endl;
+ cerr << "error: " << e << endl;
return 1;
}