~joetalbott/qa-dashboard/weekly_trends

« back to all changes in this revision

Viewing changes to common/management/__init__.py

  • Committer: Tarmac
  • Author(s): Joe Talbott
  • Date: 2013-02-27 16:35:21 UTC
  • mfrom: (267.1.12 memory_fixup)
  • Revision ID: tarmac-20130227163521-mlm834gmv10wcw05
[r=Joe Talbott] Add kernel info to memory tables. from Joe Talbott

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
            try_count += 1
48
48
 
49
49
    if response != '' and as_json:
50
 
        return json.loads(response)
 
50
        try:
 
51
            return json.loads(response)
 
52
        except ValueError:
 
53
            logging.warn("jenkins_get: response: {}".format(response))
 
54
            # handle this exception
 
55
            raise
51
56
    else:
52
57
        return response
53
58