Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send code and context frame data #523

Merged
merged 2 commits into from
Sep 15, 2016
Merged

Send code and context frame data #523

merged 2 commits into from
Sep 15, 2016

Conversation

jondeandres
Copy link
Contributor

Users can decide to send the code and context data for the sent
exception frames, so they can easier see in the Rollbar site what
happened and where.

This feature is configurable using config.send_extra_frame_data which
can have three values: :none (defualt), :app and :all.

Using :app, only the code and context for the project code frames
will be sent, and all of them if used all. Example:

Rollbar.configure do |config|
  # ...
  config.send_extra_frame_data = :app
end

@jondeandres jondeandres force-pushed the send-code-and-context branch 3 times, most recently from 67076c0 to d17f244 Compare September 13, 2016 14:27
Users can decide to send the `code` and `context` data for the sent
exception frames, so they can easier see in the Rollbar site what
happened and where.

This feature is configurable using `config.send_extra_frame_data` which
can have three values: `:none` (defualt), `:app` and `:all`.

Using `:app`, only the `code` and `context` for the project code frames
will be sent, and all of them if used `all`. Example:

```ruby
Rollbar.configure do |config|
  # ...
  config.send_extra_frame_data = :app
end
```
@jondeandres jondeandres merged commit ba93baf into master Sep 15, 2016
@jondeandres jondeandres deleted the send-code-and-context branch September 15, 2016 11:23
jondeandres added a commit that referenced this pull request Sep 15, 2016
Features:
- Allow to override config. See [#519](#519).
- Send code and context frame data. See [#523](#523).
- Send GET, POST and raw body in their correct place. See [#522](#522).
- Increase max payload from 128kb to 512kb. See [#521](#521).
- Add resque-rollbar functionality to the gem. See [#516](#516).
- Send custom.orig_host and custom.orig_uuid on too large payloads. See [#518](#518).
- Add Content-Length and Content-Type headers to the reports. See [#513](#513).

Bug fixes:
- SecureHeaders fixes. See [#478](#478).
- Include validations plugin in activerecord base. See [#503](#503).
- Require tempfile and use ::Tempfile. See [#514](#514).
- Extract correct client IP from X-Forwarded-For header. See [#515](#515).
- Delayed job fix on job serialization. See [#512](#512).

Others:
- Fix tests on rails40 and ruby 1.8.7. See [#485](#485).
- Move log methods to public section. See [#498](#498).
- Change rails50.gemfile to use Rails 5.0.0. See [#495](#495).
- Update CHANGELOG.md to fix incorrect links. See [#502](#502).
- Improve Rake support to avoid conflicts with other services. See [#517](#517).
- Make Codeclimate happier with Rollbar::Middlware::Js. See [#520](#520).
@jondeandres jondeandres mentioned this pull request Sep 15, 2016
jondeandres added a commit that referenced this pull request Sep 15, 2016
[skip ci]

Features:
- Allow to override config. See [#519](#519).
- Send code and context frame data. See [#523](#523).
- Send GET, POST and raw body in their correct place. See [#522](#522).
- Increase max payload from 128kb to 512kb. See [#521](#521).
- Add resque-rollbar functionality to the gem. See [#516](#516).
- Send custom.orig_host and custom.orig_uuid on too large payloads. See [#518](#518).
- Add Content-Length and Content-Type headers to the reports. See [#513](#513).

Bug fixes:
- SecureHeaders fixes. See [#478](#478).
- Include validations plugin in activerecord base. See [#503](#503).
- Require tempfile and use ::Tempfile. See [#514](#514).
- Extract correct client IP from X-Forwarded-For header. See [#515](#515).
- Delayed job fix on job serialization. See [#512](#512).

Others:
- Fix tests on rails40 and ruby 1.8.7. See [#485](#485).
- Move log methods to public section. See [#498](#498).
- Change rails50.gemfile to use Rails 5.0.0. See [#495](#495).
- Update CHANGELOG.md to fix incorrect links. See [#502](#502).
- Improve Rake support to avoid conflicts with other services. See [#517](#517).
- Make Codeclimate happier with Rollbar::Middlware::Js. See [#520](#520).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants