You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2018/02/28 18:22:29 UTC
[incubator-ponymail] branch master updated: Show the error
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail.git
The following commit(s) were added to refs/heads/master by this push:
new 69154f4 Show the error
69154f4 is described below
commit 69154f4f9fcffa960f4b0c5031958af7df3e0d35
Author: Sebb <se...@apache.org>
AuthorDate: Wed Feb 28 18:22:22 2018 +0000
Show the error
---
tools/import-mbox.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/import-mbox.py b/tools/import-mbox.py
index 7cbbbf5..b3afa0e 100755
--- a/tools/import-mbox.py
+++ b/tools/import-mbox.py
@@ -42,8 +42,8 @@ from mboxo_patch import MboxoFactory, MboxoReader
try:
from elasticsearch import Elasticsearch, helpers
from formatflowed import convertToWrapped # only needed by archiver
-except:
- print("Sorry, you need to install the elasticsearch and formatflowed modules from pip first.")
+except Exception as err:
+ print("Sorry, you need to install the elasticsearch and formatflowed modules from pip first.",err)
sys.exit(-1)
# must be done after import check above
--
To stop receiving notification emails like this one, please contact
sebb@apache.org.