Skip to content

Load all packages earlier and exit with helpful messages if any are missing #144

@empus

Description

@empus

Overview

Missing TCL packages can result in a failed Armour load or unexpected behaviour. In some cases, a partial load can result in a half-initialised Armour, with some users opting to start over.

Loading all packages early and catching errors can prevent these issues. Currently, this is only done for some packages.

Detail

  1. Load all packages in arm-01_depends.tcl:
  • tcl 8.6
  • http
  • dns
  • sqlite3
  • md5
  • http
  • tls
  • json
  • sha1*
  • sha256*
  1. Output errors to ./armour/<botname>.log

  2. Kill the bot (via die) with helpful message

Considerations

Include suggested package based on the OS the bot is installed on.

Metadata

Metadata

Assignees

Labels

improvementGeneral improvement to code base

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions