Skip to content

Commit f0186d7

Browse files
Merge branch 'release/4.6.2'
2 parents 12bcc05 + 08835df commit f0186d7

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

docs/release-notes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Release Notes
55
.. toctree::
66
:maxdepth: 2
77

8+
release-notes/version-4.6.2
89
release-notes/version-4.6.1
910
release-notes/version-4.6.0
1011

docs/release-notes/version-4.6.2.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
=============
2+
Version 4.6.2
3+
=============
4+
5+
Version 4.6.2 of mod_wsgi can be obtained from:
6+
7+
https://codeload.github.com/GrahamDumpleton/mod_wsgi/tar.gz/4.6.2
8+
9+
Bugs Fixed
10+
----------
11+
12+
* Full details of error not logged when a Python script file could not be
13+
loaded due to a failure when parsing Python code.

src/server/mod_wsgi.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3703,6 +3703,9 @@ static PyObject *wsgi_load_source(apr_pool_t *pool, request_rec *r,
37033703
process_group, application_group, filename);
37043704
}
37053705
Py_END_ALLOW_THREADS
3706+
3707+
wsgi_log_python_error(r, NULL, filename, 0);
3708+
37063709
return NULL;
37073710
}
37083711

src/server/wsgi_version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525

2626
#define MOD_WSGI_MAJORVERSION_NUMBER 4
2727
#define MOD_WSGI_MINORVERSION_NUMBER 6
28-
#define MOD_WSGI_MICROVERSION_NUMBER 1
29-
#define MOD_WSGI_VERSION_STRING "4.6.1"
28+
#define MOD_WSGI_MICROVERSION_NUMBER 2
29+
#define MOD_WSGI_VERSION_STRING "4.6.2"
3030

3131
/* ------------------------------------------------------------------------- */
3232

0 commit comments

Comments
 (0)