You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by bo...@apache.org on 2018/07/30 19:56:35 UTC
[1/2] storm git commit: Fix usage of traceback.format_exc in multilang
Repository: storm
Updated Branches:
refs/heads/master 31624a2d2 -> 146beff6a
Fix usage of traceback.format_exc in multilang
Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/5ed30b56
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/5ed30b56
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/5ed30b56
Branch: refs/heads/master
Commit: 5ed30b564f37deba00318f330c2b6e2dcf731cdf
Parents: 9cc5b72
Author: Mal Graty <ma...@googlemail.com>
Authored: Sun Jul 29 17:35:15 2018 +0100
Committer: Mal Graty <ma...@googlemail.com>
Committed: Sun Jul 29 17:35:15 2018 +0100
----------------------------------------------------------------------
.../python/src/main/resources/resources/storm.py | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/storm/blob/5ed30b56/storm-multilang/python/src/main/resources/resources/storm.py
----------------------------------------------------------------------
diff --git a/storm-multilang/python/src/main/resources/resources/storm.py b/storm-multilang/python/src/main/resources/resources/storm.py
index 42b6378..0af6e8b 100755
--- a/storm-multilang/python/src/main/resources/resources/storm.py
+++ b/storm-multilang/python/src/main/resources/resources/storm.py
@@ -196,8 +196,8 @@ class Bolt(object):
sync()
else:
self.process(tup)
- except Exception as e:
- reportError(traceback.format_exc(e))
+ except Exception:
+ reportError(traceback.format_exc())
class BasicBolt(object):
def initialize(self, stormconf, context):
@@ -222,11 +222,11 @@ class BasicBolt(object):
try:
self.process(tup)
ack(tup)
- except Exception as e:
- reportError(traceback.format_exc(e))
+ except Exception:
+ reportError(traceback.format_exc())
fail(tup)
- except Exception as e:
- reportError(traceback.format_exc(e))
+ except Exception:
+ reportError(traceback.format_exc())
class Spout(object):
def initialize(self, conf, context):
@@ -266,5 +266,5 @@ class Spout(object):
if msg["command"] == "fail":
self.fail(msg["id"])
sync()
- except Exception as e:
- reportError(traceback.format_exc(e))
+ except Exception:
+ reportError(traceback.format_exc())
[2/2] storm git commit: Merge branch 'STORM-3164' of
https://github.com/mal/storm into STORM-3164
Posted by bo...@apache.org.
Merge branch 'STORM-3164' of https://github.com/mal/storm into STORM-3164
STORM-3164: Fix usage of traceback.format_exc in multilang
This closes #2780
Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/146beff6
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/146beff6
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/146beff6
Branch: refs/heads/master
Commit: 146beff6a5e7f0b39147bcf8e9f798c8738c2379
Parents: 31624a2 5ed30b5
Author: Robert Evans <ev...@yahoo-inc.com>
Authored: Mon Jul 30 13:48:16 2018 -0500
Committer: Robert Evans <ev...@yahoo-inc.com>
Committed: Mon Jul 30 13:48:16 2018 -0500
----------------------------------------------------------------------
.../python/src/main/resources/resources/storm.py | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------