Commit 9af5da8
committed
fix(workers): Also show ORT stacktraces for forked processes
ORT Server always enable the stacktraces from ORT. However, when a worker
process is forked (e.g. when the Analyzer work has environment variables to
set) the new JVM does not have this property set. Therefore, this commit
also enabled the stacktraces for the forked process.
Please note that, since ORT does a call to `printStackTrace()` which
outputs to STDERR, the stacktrace is not visible in the logs downloadable
from the UI.
Signed-off-by: Nicolas Nobelis <[email protected]>1 parent 33605fa commit 9af5da8
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
104 | 108 | | |
105 | 109 | | |
106 | 110 | | |
| |||
0 commit comments