   getIssuesOnUser: (success, error) ->
     params =
       assigned_to_id: @auth.userId
-    @getIssues(success, error, params)
+    o = @_bindLog(success, error, "getIssuesOnUser")
+    @getIssues(o.success, o.error, params)
 
 
   ###

            issue.total   = issue.spent_hours or 0
            issue.project = issue.project
            new @Ticket.new(issue)
        @Analytics.sendEvent 'internal', 'getIssues', 'total_count', data.total_count
        success?(data))
      .error(error or Redmine.NULLFUNC)
    return cancelDefer



  ###
   bind log.
  ###
  _bindLog: (success, error, mothodName) ->
    onSuccess = (args...) =>
      @Analytics.sendEvent 'internal', mothodName, 'total_count', args[0].total_count
      success?(args...)

    onError = (args...) =>
      @Analytics.sendException("Error: " + mothodName)
      error?(args...)

    return success: onSuccess, error: onError


  ###
   set basic configs for $http.
  ###
  _setBasicConfig: (config, auth) ->
