You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2020/09/10 10:13:54 UTC

[incubator-ponymail-foal] branch master updated (9b76162 -> ee4d920)

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git.


    from 9b76162  more comments, add newline to traceback msg
     new 62859ce  bit more comments on workflow
     new ee4d920  tweak Server header

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 server/main.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


[incubator-ponymail-foal] 02/02: tweak Server header

Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit ee4d920d88a6012a6ac284cc5d523042c1ac0497
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Thu Sep 10 12:13:42 2020 +0200

    tweak Server header
---
 server/main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/main.py b/server/main.py
index f2a75ef..b9175f5 100644
--- a/server/main.py
+++ b/server/main.py
@@ -81,7 +81,7 @@ class Server(plugins.server.BaseServer):
 
         # Define response headers first...
         headers = {
-            "Server": "PyPony/%s" % PONYMAIL_FOAL_VERSION,
+            "Server": "Apache Pony Mail (Foal/%s)" % PONYMAIL_FOAL_VERSION,
         }
 
         # Figure out who is going to handle this request, if any


[incubator-ponymail-foal] 01/02: bit more comments on workflow

Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit 62859ce7acc55164ab33362cae59bdd17799f876
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Thu Sep 10 12:13:21 2020 +0200

    bit more comments on workflow
---
 server/main.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/server/main.py b/server/main.py
index 5798dfa..f2a75ef 100644
--- a/server/main.py
+++ b/server/main.py
@@ -124,6 +124,8 @@ class Server(plugins.server.BaseServer):
                     return aiohttp.web.Response(
                         headers=headers, status=404, text="Content not found"
                     )
+            # If a handler hit an exception, we need to print that exception somewhere,
+            # either to the web client or stderr:
             except:
                 if session.database:
                     self.dbpool.put_nowait(session.database)