Vexed01 / Vex-Cogs

My cogs for Red.
https://cogdocs.vexcodes.com
GNU General Public License v3.0
28 stars 21 forks source link

[StatTrack] `stattrackinfo` errors until 1st loop runs #61

Closed Vexed01 closed 2 years ago

Vexed01 commented 2 years ago

When [p]stattrackinfo is ran before the loop starts, self.last_loop_time is unbound and this causes an exception. This should be gracefully handled.

Vexed01 commented 2 years ago

Full traceback at https://sentry.io/share/issue/6d2e1d1414da4d5ab8e949d940903b81/