Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

no more silly attempts to debug potentially broken JSON

  • Loading branch information...
commit 448e2e37080804f3d11cb4bc2428aab84a54a945 1 parent 5fe8c25
@peterbe authored
Showing with 0 additions and 7 deletions.
  1. +0 −7 socorro/cron/crontabber.py
View
7 socorro/cron/crontabber.py
@@ -68,13 +68,6 @@ def load(self, file_path):
self.update(self._recurse_load(json.load(open(file_path))))
except IOError:
pass
- except ValueError:
- # oh nos! the JSON is broken
- sys.stderr.write(('JSON PAYLOAD (%s) ' % file_path)
- .ljust(79, '-') + '\n')
- sys.stderr.write(open(file_path).read())
- sys.stderr.write('\n' + '-' * 79 + '\n')
- raise
def _recurse_load(self, struct):
for key, value in struct.items():
Please sign in to comment.
Something went wrong with that request. Please try again.