Skip to content

Commit

Permalink
Merge pull request #3829 from chaen/rel-v6r20_FIX_reqClientcatchMore
Browse files Browse the repository at this point in the history
[v6r20]  catch mroe exception in the ReqClient for displaying FTS Jobs
  • Loading branch information
Andrei Tsaregorodtsev authored Sep 21, 2018
2 parents a8ec4d5 + fbf9575 commit cff8ddd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion RequestManagementSystem/Client/ReqClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,11 @@ def printFTSJobs(request):
gLogger.always(' FTS jobs associated: %s' % ','.join('%s (%s)' % (job.FTSGUID, job.Status)
for job in ftsJobs))

except ImportError as err:
# ImportError can be thrown for the old client
# AttributeError can be thrown because the deserialization will not have
# happened correctly on the new fts3 (CC7 typically), and the error is not
# properly propagated
except (ImportError, AttributeError) as err:
gLogger.debug("Could not instantiate FtsClient because of Exception", repr(err))


Expand Down

0 comments on commit cff8ddd

Please sign in to comment.