Better Exception handling Signed-off-by: Imesh Gunaratne <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/5c5d76b1 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/5c5d76b1 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/5c5d76b1 Branch: refs/heads/stratos-4.1.x Commit: 5c5d76b15839d1b3d3760776d6af460e19f86f4a Parents: c73c815 Author: Milindu Sanoj Kumarage <[email protected]> Authored: Sun Aug 16 22:51:40 2015 +0530 Committer: Imesh Gunaratne <[email protected]> Committed: Tue Oct 13 16:32:49 2015 +0530 ---------------------------------------------------------------------- .../src/main/python/cli/exceptions/AuthenticationError.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/5c5d76b1/components/org.apache.stratos.python.cli/src/main/python/cli/exceptions/AuthenticationError.py ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.python.cli/src/main/python/cli/exceptions/AuthenticationError.py b/components/org.apache.stratos.python.cli/src/main/python/cli/exceptions/AuthenticationError.py index 2d68bd7..5bcd5d8 100644 --- a/components/org.apache.stratos.python.cli/src/main/python/cli/exceptions/AuthenticationError.py +++ b/components/org.apache.stratos.python.cli/src/main/python/cli/exceptions/AuthenticationError.py @@ -16,7 +16,7 @@ # under the License. class AuthenticationError(Exception): - def __init__(self): + def __init__(self, message=""): pass def __str__(self):
