Page MenuHomePhabricator

Sir command buggy
Closed, ResolvedPublic

Description

2016-12-23 12:46:02,057 [10] DEBUG Default.LegacyCommandParser [(null)] - Handling received message...

2016-12-23 12:46:02,059 [10] INFO  Default [(null)] - Running command: helpmebot6.Commands.Sir

2016-12-23 12:46:02,066 [10] INFO  Default [(null)] - Starting command execution...

2016-12-23 12:46:02,096 [10] ERROR Default [(null)] - Input string was not in a correct format.
System.FormatException: Input string was not in a correct format.
  at System.Text.StringBuilder.AppendFormatHelper (IFormatProvider provider, System.String format, ParamsArray args) <0xf43ef548 + 0x001eb> in <filename unknown>:0 
  at System.String.FormatHelper (IFormatProvider provider, System.String format, ParamsArray args) <0xf43ef490 + 0x00077> in <filename unknown>:0 
  at System.String.Format (System.String format, System.Object[] args) <0xf3d6b9a8 + 0x000b7> in <filename unknown>:0 
  at Helpmebot.Services.MessageService.RetrieveMessage (System.String messageKey, System.String contextPath, IEnumerable`1 arguments) <0xf3704d40 + 0x00223> in <filename unknown>:0 
  at Helpmebot.Services.MessageService.RetrieveMessage (System.String messageKey, System.Object context, IEnumerable`1 arguments) <0xf3704b38 + 0x00197> in <filename unknown>:0 
  at Helpmebot.Commands.FunStuff.TargetedFunCommand.ExecuteCommand () <0xed95f2a8 + 0x0008e> in <filename unknown>:0 
  at helpmebot6.Commands.GenericCommand.ReallyRunCommand () <0xf2b1c070 + 0x0028c> in <filename unknown>:0

Event Timeline

stwalkerster claimed this task.
stwalkerster triaged this task as High priority.

Immediate resolution is to remove {nickname} from the messages, but this indicates that the parsing for this has broken somewhere, which can be sorted in a new task