 
     # show errors in form
     if errors
-      @log 'error new', errors
+      @log 'CustomerTicketCreate', 'error', 'can not create', errors
+
       @formValidate( form: e.target, errors: errors )
 
     # save ticket, create article

            t.customer_id_autocompletion = a.from
            t.subject = a.subject || t.title
            t.body = a.body
            @log '11111', t
          @render( options: t )
      )



    # create ticket
    object = new App.Ticket
    @log 'CustomerTicketCreate', 'notice', 'updateAttributes', params

    # find sender_id
    sender = App.Collection.findByAttribute( 'TicketArticleSender', 'name', 'Customer' )
