Skip to content

Commit

Permalink
chore(error): Make default error handler be public available.
Browse files Browse the repository at this point in the history
  • Loading branch information
playpauseandstop committed Jan 14, 2020
1 parent d57f996 commit 3ec96b7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ Changelog
1.0.0 (In Development)
======================

1.0.0b1 (2020-01-14)
--------------------

- chore: Make default error handler available to import as,

.. code-block:: python
from aiohttp_middlewares import default_error_handler

1.0.0b0 (2020-01-14)
--------------------

Expand Down
5 changes: 3 additions & 2 deletions aiohttp_middlewares/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"""

__version__ = "1.0.0b0"
__version__ = "1.0.0b1"

from .constants import IDEMPOTENT_METHODS, NON_IDEMPOTENT_METHODS
from .cors import cors_middleware
from .error import error_context, error_middleware
from .error import default_error_handler, error_context, error_middleware
from .https import https_middleware
from .shield import shield_middleware
from .timeout import timeout_middleware
Expand All @@ -20,6 +20,7 @@
# Make flake8 happy
(
cors_middleware,
default_error_handler,
error_context,
error_middleware,
https_middleware,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ line_length = 79

[tool.poetry]
name = "aiohttp-middlewares"
version = "1.0.0b0"
version = "1.0.0b1"
description = "Collection of useful middlewares for aiohttp applications."
authors = ["Igor Davydenko <[email protected]>"]
license = "BSD-3-Clause"
Expand Down

0 comments on commit 3ec96b7

Please sign in to comment.