mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-29 02:33:58 +00:00
Allow futureLogging in release builds (#21448)
* Add test case * Fixes 21447: Keeps stackTrace around when using futureLogging * Remove extra whitespace
This commit is contained in:
@@ -29,7 +29,7 @@ type
|
||||
finished: bool
|
||||
error*: ref Exception ## Stored exception
|
||||
errorStackTrace*: string
|
||||
when not defined(release):
|
||||
when not defined(release) or defined(futureLogging):
|
||||
stackTrace: seq[StackTraceEntry] ## For debugging purposes only.
|
||||
id: int
|
||||
fromProc: string
|
||||
|
||||
Reference in New Issue
Block a user