You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Throwing exception when trying to clean up PowerMining Directives
Steps to reproduce:
Spawn
Wait for RCL8
Wait for PM Directives to be expire
Error message:
[2:49:58 PM][shard2]TypeError: Cannot read property 'roomName' of undefined
at DirectivePowerMine.get print [as print] (main:13792:71)
at new Directive (main:13740:58)
at new DirectivePowerMine (main:31722:9)
at DirectiveWrapper (main:33219:28)
at _Overmind.registerDirectives (main:35243:15559)
at _Overmind.build (main:35243:11168)
at Object.main [as loop] (main:36117:18)
at __mainLoop:1:52
at __mainLoop:2:3
I threw a try/catch around log.alert(`Removing expired directive ${this.print}!`); in the Directive constructor and it seems to have moved on.
Of note, this was on the PTR, and might be related to the CPU sub's weekly reset, so things might have gone wonky when the max CPU was chopped to 20CPU.
So whatever cleanup was being done may have only half executed.
This is probably and edge case, but it may or may not crop up again if somebody bangs up against the CPU limit.
Issue summary
Throwing exception when trying to clean up PowerMining Directives
Steps to reproduce:
Error message:
Suggested fix (optional):
Other information:
Commit: c1cccf3
The text was updated successfully, but these errors were encountered: