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

feat: include potential leaked session stacktraces in error #759

Merged
merged 2 commits into from
Dec 17, 2019

Conversation

olavloite
Copy link
Contributor

The error thrown by the session pool when it is exhausted should include the stacktraces of the checked out sessions. This information can be used to track down potential session leaks.

Fixes #758

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 16, 2019
@codecov
Copy link

codecov bot commented Dec 16, 2019

Codecov Report

Merging #759 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #759      +/-   ##
==========================================
+ Coverage   96.11%   96.11%   +<.01%     
==========================================
  Files          18       18              
  Lines       15622    15636      +14     
  Branches      532      532              
==========================================
+ Hits        15015    15029      +14     
  Misses        602      602              
  Partials        5        5
Impacted Files Coverage Δ
src/session-pool.ts 99.22% <100%> (+0.01%) ⬆️

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 14aefff...5e51452. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SessionPoolExhaustedError should include stacktraces of checked out sessions
3 participants