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

Allow person data to be sent through the API #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

skuro
Copy link
Contributor

@skuro skuro commented Sep 27, 2021

Fixes #53 by allowing a :person map to be passed through the Rollbar API call, without breaking any existing API contract

Fixes circleci#53 by allowing a `:person` map to be passed through the API
call, without breaking any existing API contract
@codecov
Copy link

codecov bot commented Sep 27, 2021

Codecov Report

Merging #54 (bf911de) into master (3ecd8cb) will decrease coverage by 3.04%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #54      +/-   ##
==========================================
- Coverage   92.20%   89.16%   -3.05%     
==========================================
  Files           4        4              
  Lines         231      240       +9     
  Branches        5        5              
==========================================
+ Hits          213      214       +1     
- Misses         13       21       +8     
  Partials        5        5              
Impacted Files Coverage Δ
src/circleci/rollcage/core.clj 87.92% <100.00%> (-3.50%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8d4a9aa...bf911de. Read the comment docs.

Copy link
Contributor

@marcomorain marcomorain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR.

I think we can modify make-rollbar to alwaya take a person argument.

I should probably write more docs now that more folks are using this library :)

@@ -167,17 +170,22 @@
level :- String
exception :- Throwable
url :- (s/maybe String)
custom :- (s/maybe {s/Any s/Any})]
custom :- (s/maybe {s/Any s/Any})
& [person :- {:id String
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make-rollbar is only called in one place, and it's private, so we should be able to make the new argument a required parameter, right?

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.

Feature request: person tracking
2 participants