                  "#{inc.trigger_summary_data.HOSTNAME}/#{inc.trigger_summary_data.HOSTSTATE}"
               else
                 ""
-                inspect inc
             else
               ""
-              inspect inc
-
-    "#{inc.incident_number}: #{inc.created_on} #{extra} - assigned to #{inc.assigned_to_user.name}\n"
+    assigned_to = if inc.assigned_to_user
+                    "- assigned to #{inc.assigned_to_user.name}"
+                  else
+                    ""
+                    
+
+    "#{inc.incident_number}: #{inc.created_on} #{summary} #{assigned_to}\n"
 
   updateIncident = (msg, incident_number, status) ->
     withPagerDutyUsers msg, (users) ->

     #   SERVICESTATE: 'CRITICAL',
     #   HOSTSTATE: 'UP' },
    
    extra = if inc.trigger_summary_data
              # email services
              if inc.trigger_summary_data.subject
                inc.trigger_summary_data.subject

            end = moment(json.override.end)
            msg.send "Rejoice, #{old_username}! #{json.override.user.name} has the pager until #{end.format()}"

  robot.respond /(pager|major)( me)? incident (.*)$/, (msg) ->
    pagerDutyIncident msg, msg.match[3], (incident) ->
      msg.send formatIncident(incident)

  robot.respond /(pager|major)( me)? (inc|incidents|sup|problems)$/i, (msg) ->
    pagerDutyIncidents msg, (incidents) ->
      if incidents.length > 0
