imp: cli, web: disable ghc 9.10+'s stack traces here too
Starting to see them also from hledger now.
This commit is contained in:
parent
62e1c020cf
commit
b6a5687a38
@ -55,8 +55,7 @@ hledgerWebMain = withGhcDebug' $ do
|
|||||||
|
|
||||||
#if MIN_VERSION_base(4,20,0)
|
#if MIN_VERSION_base(4,20,0)
|
||||||
-- Control ghc 9.10+'s stack traces.
|
-- Control ghc 9.10+'s stack traces.
|
||||||
-- hledger-web isn't showing many yet; leave this enabled for now.
|
setBacktraceMechanismState HasCallStackBacktrace False
|
||||||
setBacktraceMechanismState HasCallStackBacktrace True
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
-- try to encourage user's $PAGER to properly display ANSI (in command line help)
|
-- try to encourage user's $PAGER to properly display ANSI (in command line help)
|
||||||
|
|||||||
@ -196,8 +196,7 @@ main = withGhcDebug' $ do
|
|||||||
|
|
||||||
#if MIN_VERSION_base(4,20,0)
|
#if MIN_VERSION_base(4,20,0)
|
||||||
-- Control ghc 9.10+'s stack traces.
|
-- Control ghc 9.10+'s stack traces.
|
||||||
-- hledger isn't showing many yet; leave this enabled for now
|
setBacktraceMechanismState HasCallStackBacktrace False
|
||||||
setBacktraceMechanismState HasCallStackBacktrace True
|
|
||||||
-- CostCentreBacktrace - collect cost-centre stack backtraces (only available when built with profiling)
|
-- CostCentreBacktrace - collect cost-centre stack backtraces (only available when built with profiling)
|
||||||
-- HasCallStackBacktrace - collect HasCallStack backtraces
|
-- HasCallStackBacktrace - collect HasCallStack backtraces
|
||||||
-- ExecutionBacktrace - collect backtraces from native execution stack unwinding
|
-- ExecutionBacktrace - collect backtraces from native execution stack unwinding
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user