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: log error message reason correctly #1209

Merged
merged 1 commit into from
Sep 9, 2019

Conversation

sangaman
Copy link
Collaborator

@sangaman sangaman commented Sep 9, 2019

This is a minor fix for logging the swap failure error message. The logic on whether to log the error message was backwards, logging it only when undefined.

This is a minor fix for logging the swap failure error message.
The logic on whether to log the error message was backwards, logging it
only when undefined.
@sangaman sangaman added bug Something isn't working swaps logging Log messages and output labels Sep 9, 2019
@sangaman sangaman requested review from a user, michael1011 and kilrau September 9, 2019 13:25
@sangaman sangaman self-assigned this Sep 9, 2019
@michael1011 michael1011 merged commit 69962db into master Sep 9, 2019
@michael1011 michael1011 deleted the swaps/logging-error-message branch September 9, 2019 14:37
sangaman added a commit that referenced this pull request Sep 11, 2019
This is a minor fix for logging the swap failure error message.
The logic on whether to log the error message was backwards, logging it
only when undefined.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working logging Log messages and output swaps
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants