       .header('Content-Type', 'application/json')
       .put(data) (err, res, body) ->
         if err
-          msg.reply err
+          msg.reply "[ERROR] #{err}"
         else
           try
             json     = JSON.parse body

              'You might want to change the component status now.'
            ].join ' '
          catch e
            msg.reply "Error: #{e}"

  changeComponentStatus = (component_name, status, msg) ->
    component_id = _components[component_name] ? 0


            msg.send "#{component.name} status changed to: *#{component.status_name}*"
          catch e
            msg.reply "[ERROR] #{e}"

  # Listeners

