Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Refactor request sending to have better excpetions #4358

Merged
merged 5 commits into from
Jan 8, 2019

Commits on Jan 7, 2019

  1. Configuration menu
    Copy the full SHA
    e8f323a View commit details
    Browse the repository at this point in the history
  2. Refactor request sending to have better excpetions

    MatrixFederationHttpClient blindly reraised exceptions to the caller
    without differentiating "expected" failures (e.g. connection timeouts
    etc) versus more severe problems (e.g. programming errors).
    
    This commit adds a RequestSendFailed exception that is raised when
    "expected" failures happen, allowing the TransactionQueue to log them as
    warnings while allowing us to log other exceptions as actual exceptions.
    erikjohnston committed Jan 7, 2019
    Configuration menu
    Copy the full SHA
    ddba990 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2019

  1. Fix pep8

    erikjohnston committed Jan 8, 2019
    Configuration menu
    Copy the full SHA
    fb95542 View commit details
    Browse the repository at this point in the history
  2. Newsfile

    erikjohnston committed Jan 8, 2019
    Configuration menu
    Copy the full SHA
    2a20928 View commit details
    Browse the repository at this point in the history
  3. Expand docstring

    erikjohnston committed Jan 8, 2019
    Configuration menu
    Copy the full SHA
    706d2e7 View commit details
    Browse the repository at this point in the history