Skip to content

Commit

Permalink
Replace key 'error_txt' with 'ERROR_TXT_FILE'
Browse files Browse the repository at this point in the history
The wrong key was used to access error file path. This caused unhandled
exception.
  • Loading branch information
theob-pro committed Sep 5, 2024
1 parent 73158a3 commit aad3f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autopts/bot/zephyr.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def apply_config(self, args, config, value):
flush_serial(args.tty_file)
except BaseException as e:
traceback.print_exception(e)
report.make_error_txt('Build and flash step failed', self.file_paths['error_txt'])
report.make_error_txt('Build and flash step failed', self.file_paths['ERROR_TXT_FILE'])
raise BuildAndFlashException

time.sleep(10)
Expand Down

0 comments on commit aad3f02

Please sign in to comment.