Error with Save/Recall

If you try to use “recall” without having anything saved first, you get an error.

2019-04-14 02:38:56 ERROR - Error in recall 5: client=4794 error=undefined method []' for nil:NilClass backtrace=["/home/ares/aresmush/plugins/utils/commands/recall_cmd.rb:26:inhandle’", “/home/ares/aresmush/engine/aresmush/plugin/command_handler.rb:25:in on_command'", "/home/ares/aresmush/engine/aresmush/commands/dispatcher.rb:83:inblock (3 levels) in on_command’”, “/home/ares/aresmush/engine/aresmush/error_block.rb:6:in with_error_handling'", "/home/ares/aresmush/engine/aresmush/commands/dispatcher.rb:78:inblock (2 levels) in on_command’”, “/home/ares/aresmush/engine/aresmush/commands/dispatcher.rb:76:in each'", "/home/ares/aresmush/engine/aresmush/commands/dispatcher.rb:76:inblock in on_command’”, “/home/ares/aresmush/engine/aresmush/error_block.rb:6:in with_error_handling'", "/home/ares/aresmush/engine/aresmush/commands/dispatcher.rb:141:inwith_error_handling’”, “/home/ares/aresmush/engine/aresmush/commands/dispatcher.rb:67:in `on_command’”]

It works fine as long as you have something saved first.

1 Like