Commit graph

4 commits

Author SHA1 Message Date
Bartosz Dziewoński
9e5443abc3 No space within the ?: operator
This style is a lot more common in our code.

Change-Id: I7f2fb3716c24c4a95a4c6c4a732b0226c315f242
2014-08-25 17:40:51 +02:00
Aaron Schulz
5fc32ab830 Added more JobRunner docs
Change-Id: I4fbb947a2fc2b5f325dff97127bf39edf18f0e13
2014-08-15 15:19:46 -07:00
Aaron Schulz
e0ad91f058 Just log exceptions instead of spamming them in JobRunner
* Even the CLI script already shows the error=X snippet.
  Logging the error should be enough, and avoids showing
  output when all we want is the JSON.

Change-Id: Iade412ea61cf427865d841ecab5498e4fcdb7e13
2014-07-29 16:01:40 -07:00
Aaron Schulz
094d901b88 Refactored duplicated code into JobRunner.php
* Also added an async flag to SpecialRunJobs so that it can be
  set to false to get a JSON blob back with a regular 200 status.

Change-Id: I2f5763e017684c3c61f3d3f27ddf7f7834bdfce2
2014-07-25 17:28:10 +00:00