mirror of https://github.com/ArduPilot/ardupilot
Tools: add error keyword on param parse for newcomers
This commit is contained in:
parent
f450df18b0
commit
5d299eb584
|
@ -76,7 +76,7 @@ def error(str_to_print):
|
||||||
global error_count
|
global error_count
|
||||||
error_count += 1
|
error_count += 1
|
||||||
if current_file is not None:
|
if current_file is not None:
|
||||||
print("In %s" % current_file)
|
print("Error in %s" % current_file)
|
||||||
if current_param is not None:
|
if current_param is not None:
|
||||||
print("At param %s" % current_param)
|
print("At param %s" % current_param)
|
||||||
print(str_to_print)
|
print(str_to_print)
|
||||||
|
|
Loading…
Reference in New Issue