File tree 3 files changed +27
-2
lines changed
3 files changed +27
-2
lines changed Original file line number Diff line number Diff line change
1
+ v0.4.4
2
+ ======
3
+
4
+ New Features
5
+ ------------
6
+
7
+ Bug Fixes
8
+ ---------
9
+
10
+ * In execution error reports, local variables with very long string forms are
11
+ now cut down to a smaller size.
12
+
13
+ Known Issues
14
+ ------------
15
+
16
+ * Execution errors that result in the job being terminated but no output being
17
+ produced are still not handled entirely gracefully. Right now, the component
18
+ state will just show as ``ERRORED ``, but there won't be an actual error report.
19
+ * Map component state may become corrupted when a map is manually vacated.
20
+ Force-removal may be needed to clean up maps if HTCondor and HTMap disagree
21
+ about the state of their components.
22
+ Issue: https://github.com/htcondor/htmap/issues/129
Original file line number Diff line number Diff line change @@ -108,7 +108,10 @@ def _format_stack_trace(self):
108
108
row .append (self ._indent ('\n Local variables:\n ' , multiple = 2 ))
109
109
if frame .locals :
110
110
for name , value in sorted (frame .locals .items ()):
111
- row .append (self ._indent (f'{ name } = { value } \n ' , multiple = 3 ))
111
+ v = str (value )
112
+ if len (v ) > 45 :
113
+ v = v [:20 ] + ' ... ' + v [- 20 :]
114
+ row .append (self ._indent (f'{ name } = { v } \n ' , multiple = 3 ))
112
115
result .append ('' .join (row ))
113
116
if count > _RECURSIVE_CUTOFF :
114
117
count -= _RECURSIVE_CUTOFF
Original file line number Diff line number Diff line change 15
15
16
16
from typing import Tuple
17
17
18
- __version__ = '0.4.3 '
18
+ __version__ = '0.4.4 '
19
19
20
20
21
21
def version () -> str :
You can’t perform that action at this time.
0 commit comments