Skip to content

Commit 9234932

Browse files
Merge pull request #77 from MasoniteFramework/fix/bump-versions
fix: 3.12
2 parents 088899c + a596ac8 commit 9234932

File tree

13 files changed

+696
-356
lines changed

13 files changed

+696
-356
lines changed

.github/workflows/pythonapp.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: ["3.7", "3.8", "3.9", "3.10"]
10+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1111
name: Python ${{ matrix.python-version }}
1212
steps:
1313
- uses: actions/checkout@v3
1414
- name: Set up Python ${{ matrix.python-version }}
15-
uses: actions/setup-python@v3
15+
uses: actions/setup-python@v4
1616
with:
1717
python-version: ${{ matrix.python-version }}
1818
- name: Install dependencies
@@ -33,7 +33,7 @@ jobs:
3333
steps:
3434
- uses: actions/checkout@v3
3535
- name: Set up Python 3.8
36-
uses: actions/setup-python@v3
36+
uses: actions/setup-python@v4
3737
with:
3838
python-version: 3.8
3939
- name: Intall Flake8

.github/workflows/pythonpublish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v3
1212
- name: Set up Python
13-
uses: actions/setup-python@v3
13+
uses: actions/setup-python@v4
1414
with:
1515
python-version: "3.x"
1616
- name: Install dependencies

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ def custom_handler(exc, context):
163163
REST_FRAMEWORK = {
164164
"EXCEPTION_HANDLER": "myapp.exception_handler.custom_handler"
165165
}
166+
```
166167

167168
## Usage for Pyramid
168169

@@ -362,9 +363,9 @@ For Masonite, options are defined in `exceptions.py` configuration file.
362363
## Renderers
363364

364365
When an error is caught by Exceptionite, it can be rendered in many ways through configured renderers. Available renderers are:
365-
- WebRenderer (enabled): renders the exception as a beautiful HTML error page
366-
- TerminalRenderer (enabled): renders the exception nicely in the console
367-
- JSONRenderer (disabled): renders the exception as a JSON payload (useful for API errors handling)
366+
- WebRenderer: renders the exception as a beautiful HTML error page
367+
- TerminalRenderer: renders the exception nicely in the console
368+
- JSONRenderer: renders the exception as a JSON payload (useful for API errors handling)
368369

369370
A renderer is a simple Python class with `build()` and `render()` methods. Feel free to create
370371
your own one if needed !

0 commit comments

Comments
 (0)