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:
parent
38d299dfc0
commit
d4d28f2ffe
2 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue