     .get() (err, res, body) ->
 
       if err
-        msg.send "Something went wrong: #{err}"
+        report_error msg, err
         return
 
       if res.statusCode != 200


      # Check for general networking errors
      if err
        msg.send "Something went wrong: #{err}"
        return

      # If Asana returns 403 Forbidden it is possible that the URL belongs to

  > #{project.notes}
  """

report_error = (msg, err) ->
  msg.send "Something went wrong: #{err}"


get_task = (task_id, robot, msg) ->
  robot.http(asana_task_endpoint task_id)
