Catch exceptions for IrisRestClient.
authorHuang Hao <hao.h.huang@intel.com>
Mon, 29 Sep 2014 06:29:26 +0000 (14:29 +0800)
committerHuang Hao <hao.h.huang@intel.com>
Mon, 29 Sep 2014 06:46:10 +0000 (14:46 +0800)
commitefc48be90c4bc9d5002cce23715fd7a4b29de3d5
treeef32150df38595b795dc872c6ddeaa0c4be73705
parent10a4c811a2f4e8d553c21ba85795b151408b18c2
Catch exceptions for IrisRestClient.

Print exception when execption raised in IrisRestClient code. But
don't break original workflow.

Also change event type into a part of url, so it's more easier
to see that in access log.

Change-Id: Idca9874e4904366b3333d57b6be531548e0e8401
common/iris_rest_client.py
job_submit.py
tests/test_iris_rest_client.py [new file with mode: 0644]