Skip to content

Commit ca0dd98

Browse files
committed
mavflightview.py: increase error threshold for bad colour exporession
we probably need something more nuanced than this, but if a message in your expression doesn't exist for a long time in your log the you can end up bombing out here
1 parent cb221b4 commit ca0dd98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: MAVProxy/tools/mavflightview.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def colour_for_point(mlog, point, instance, options):
193193
except KeyError:
194194
colour_expression_exceptions[str_e] = 0
195195
count = 0
196-
if count > 100:
196+
if count > 10000:
197197
print("Too many exceptions processing (%s): %s" % (source, str_e))
198198
sys.exit(1)
199199
colour_expression_exceptions[str_e] += 1

0 commit comments

Comments
 (0)