lib/automate-em/interfaces/html5.rb in automate-em-0.0.3 vs lib/automate-em/interfaces/html5.rb in automate-em-0.0.4

- old
+ new

@@ -207,20 +207,20 @@ else # All other commands command = data[:command].split('.') if command.length == 2 @system.send_command(command[0], command[1], *data[:data]) else - AutomateEm::System.logger.info "-- in html5.rb, recieve : invalid command received - #{data[:command]} --" + AutomateEm::System.logger.info "-- in html5.rb, receive : invalid command received - #{data[:command]} --" end end } rescue => e logger = nil @data_lock.synchronize { logger = @system.nil? ? AutomateEm::System.logger : @system.logger } AutomateEm.print_error(logger, e, { - :message => "in html5.rb, recieve : probably malformed JSON data", + :message => "in html5.rb, receive : probably malformed JSON data", :level => Logger::ERROR }) shutdown end