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

chore: Move stacktrace capturing into internal/ #1341

Merged
merged 1 commit into from
Aug 25, 2023
Merged

Conversation

abhinav
Copy link
Collaborator

@abhinav abhinav commented Aug 25, 2023

Moves the functionality to capture and format stack traces
into an internal stacktrace package
and exports the relevant bits out for the logger and field.go to use.

This will be used by zapslog.Handler to capture stack traces
so it needs to be in a shared location.

Refs #1329, #1339

Moves the functionality to capture and format stack traces
into an internal stacktrace package
and exports the relevant bits out for the logger and field.go to use.

This will be used by zapslog.Handler to capture stack traces
so it needs to be in a shared location.

Refs #1329, #1339
@codecov
Copy link

codecov bot commented Aug 25, 2023

Codecov Report

Merging #1341 (a9639a6) into master (55a2367) will increase coverage by 0.14%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1341      +/-   ##
==========================================
+ Coverage   97.62%   97.77%   +0.14%     
==========================================
  Files          51       51              
  Lines        3366     3366              
==========================================
+ Hits         3286     3291       +5     
+ Misses         69       65       -4     
+ Partials       11       10       -1     
Files Changed Coverage Δ
field.go 100.00% <100.00%> (ø)
internal/stacktrace/stack.go 100.00% <100.00%> (ø)
logger.go 96.55% <100.00%> (ø)

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@mway mway left a comment

Choose a reason for hiding this comment

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

LGTM

@abhinav abhinav merged commit 98e9c4f into master Aug 25, 2023
6 checks passed
@abhinav abhinav deleted the internal-stacktrace branch August 25, 2023 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants