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

Improve gRPC server error logging #5249

Merged
merged 8 commits into from
Mar 9, 2021

Conversation

ghubstan
Copy link
Contributor

  • Use the logger of the gRPC service throwing the exception, not the exception handler's logger.

  • Log trade not found exceptions as warnings instead cluttering the log with full stack traces.

The offer volume is shown so traders know how much fiat
they are sending or receiving without having to call getoffer.

Changed the 'Fiat Sent' and 'Fiat Received' column headers
to show which fiat is being transfered, e.g., 'EUR Sent',
'EUR Received'.

Adjusted apitest's trade-simulation-utils.sh to the modified
gettrade output.
A new handleExceptionAsWarning method logs warn(ex.msg) instead of
the full stack trace.
@ghubstan
Copy link
Contributor Author

ghubstan commented Feb 27, 2021

Snuck in call rate metering test bug fixes with commits 98ff6cf, e8d1f03 and f90d2ce.

Copy link
Member

@sqrrm sqrrm left a comment

Choose a reason for hiding this comment

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

utACK

@sqrrm sqrrm merged commit 7fa1b80 into bisq-network:master Mar 9, 2021
@ghubstan ghubstan deleted the 02-improve-server-error-logging branch March 9, 2021 19:20
@ripcurlx ripcurlx added this to the v1.6.0 milestone Mar 11, 2021
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.

3 participants