diff options
Diffstat (limited to 'test/run_neighbor_explorer.cxx')
-rw-r--r-- | test/run_neighbor_explorer.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/run_neighbor_explorer.cxx b/test/run_neighbor_explorer.cxx index 3184cdc91..f836bc148 100644 --- a/test/run_neighbor_explorer.cxx +++ b/test/run_neighbor_explorer.cxx @@ -25,7 +25,7 @@ #include "fs/Path.hxx" #include "event/Loop.hxx" #include "ShutdownHandler.hxx" -#include "Log.hxx" +#include "util/PrintException.hxx" #include <stdio.h> #include <stdlib.h> @@ -93,7 +93,7 @@ try { loop.Run(); neighbor.Close(); return EXIT_SUCCESS; -} catch (const std::exception &e) { - LogError(e); +} catch (...) { + PrintException(std::current_exception()); return EXIT_FAILURE; } |