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

fix(logger): log group not closed on error #831

Merged
merged 2 commits into from
Feb 16, 2019
Merged

Conversation

eranshmil
Copy link
Member

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

image

Issue Number: #817

What is the new behavior?

I added the error log in case the error raised is suppressed with a custom error handler after the logger ran.
image

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Copy link
Member

@markwhitfeld markwhitfeld left a comment

Choose a reason for hiding this comment

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

Awesome work!
Is it possible to add a test for this?

@splincode
Copy link
Member

I think we need to make testing tools. @ngxs/store/testing

@eranshmil
Copy link
Member Author

Awesome work!
Is it possible to add a test for this?

Yeah, that's my next task in this matter, but I wanted to get this fix in the next version.

@markwhitfeld
Copy link
Member

Agreed. I think that testing tools are high on the agenda for the next release.
@eranshmil are you going to get a chance to add the test?
Aiming for release tomorrow

@splincode
Copy link
Member

@markwhitfeld I think you need to add it to the release, add tests later.

@eranshmil
Copy link
Member Author

Agreed. I think that testing tools are high on the agenda for the next release.
@eranshmil are you going to get a chance to add the test?
Aiming for release tomorrow

I'm currently working on them, but not quite sure if I'll finish them until tomorrow.

@splincode
Copy link
Member

@markwhitfeld Can we suspend release?

@eranshmil eranshmil force-pushed the fix/logger-group-end branch from 5909c6c to da40a33 Compare February 12, 2019 18:50
@splincode
Copy link
Member

@markwhitfeld ping

@arturovt
Copy link
Member

@markwhitfeld ping 🚀

Copy link
Member

@markwhitfeld markwhitfeld left a comment

Choose a reason for hiding this comment

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

LGTM. Sorry it took so long for me to get to this!

@markwhitfeld markwhitfeld merged commit cdb2263 into master Feb 16, 2019
@markwhitfeld markwhitfeld deleted the fix/logger-group-end branch February 16, 2019 21:26
@markwhitfeld markwhitfeld added this to the 3.4.0 milestone Feb 16, 2019
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.

4 participants