aboutsummaryrefslogtreecommitdiff
path: root/src/libmain
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-01-02 20:40:39 +0100
committerEelco Dolstra <edolstra@gmail.com>2023-01-02 20:53:58 +0100
commitd33d15a48b55eb81270a39b001c04bc61c42105f (patch)
tree9b9ef12664a5f14be0cf8c5bba1edb54ae4b651f /src/libmain
parentc548e3549850f224a232f8a74b5a9e2276070896 (diff)
Put the --show-trace hint in the logical place
Diffstat (limited to 'src/libmain')
-rw-r--r--src/libmain/shared.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc
index 99e3d6f56..648e21a25 100644
--- a/src/libmain/shared.cc
+++ b/src/libmain/shared.cc
@@ -403,8 +403,6 @@ int handleExceptions(const std::string & programName, std::function<void()> fun)
return 1;
} catch (BaseError & e) {
logError(e.info());
- if (e.hasTrace() && !loggerSettings.showTrace.get())
- printError("(use '--show-trace' to show detailed location information)");
return e.status;
} catch (std::bad_alloc & e) {
printError(error + "out of memory");