Sha256: 07c77aeec75dba51d217ef85cbffea7ec84e58d95c6357c9e86e4f8a54561879

Contents?: true

Size: 1.64 KB

Versions: 8

Compression:

Stored size: 1.64 KB

Contents

.container-fluid
  .row
    .col-md-3.col-md-offset-1
      h1
        | Last 5 occurrences
      - @error.error_occurrences.order(created_at: :desc).last(5).each do |occurrence|
        div
          = link_to error_path(id: @error.id, occurrence_id: occurrence.id)
            = time_ago_in_words(occurrence.created_at) + " ago "
            | to
            = " " + user_show_string(occurrence.experiencer)

      h1
        | Status
      = form_for @error do |f|
        = f.select(:status, Errdo::Error.statuses.keys, {}, class: "form-control errdo-status-select")
        = f.submit "Update status", class: "btn btn-primary"

    .col-md-7

      h3 Time Occurred
      div = @occurrence.created_at

      h3 Exception Class
      div = @error.exception_class_name

      h3 Exception message
      div = @error.exception_message

      h3 Experiencer
      div = link_to user_show_string(@occurrence.experiencer),
            user_show_path(@occurrence.experiencer), class: "errdo"

      h3 Backtrace
      .errdo-backtrace-box
        - @error.backtrace.each do |line|
          div
            = line

      h3 IP address
      div = @occurrence.ip

      h3 User Agent
      div = @occurrence.user_agent

      h3 Referer
      div = @occurrence.referer || "None"

      h3 Param Values
      div = @occurrence.param_values

      h3 Cookie Values
      .errdo-backtrace-box
        = @occurrence.cookie_values

      h3 Header Values
      div = @occurrence.header_values

      h3 HTTP Method
      div = @error.http_method

      h3 Requested URL
      div = @error.url

      h3 Times occurred
      = @error.occurrence_count

      br
      br
      br
      br

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
errdo-0.11.4 app/views/errdo/errors/show.html.slim
errdo-0.11.3 app/views/errdo/errors/show.html.slim
errdo-0.11.2 app/views/errdo/errors/show.html.slim
errdo-0.11.1 app/views/errdo/errors/show.html.slim
errdo-0.11.0 app/views/errdo/errors/show.html.slim
errdo-0.10.0 app/views/errdo/errors/show.html.slim
errdo-0.9.1 app/views/errdo/errors/show.html.slim
errdo-0.9.0 app/views/errdo/errors/show.html.slim