diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-10-07 01:17:57 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-10-07 01:17:57 +0400 |
commit | 092fda637eb967dd8aa0ca01c3817475effca8fc (patch) | |
tree | f5900b558f6da94ed72b3271c79387fc2dc1f6f8 /core/Tracker.php | |
parent | 733ef22246b50e91533e518ea407f74c9587d30e (diff) |
When tracker fails, return error code so that it fails the tests.
Diffstat (limited to 'core/Tracker.php')
-rw-r--r-- | core/Tracker.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/Tracker.php b/core/Tracker.php index 3aa27237a1..72bd3cd289 100644 --- a/core/Tracker.php +++ b/core/Tracker.php @@ -452,6 +452,7 @@ class Tracker } Common::sendHeader('Content-Type: application/json'); echo Common::json_encode($result); + die(1); exit; } @@ -468,8 +469,9 @@ class Tracker Common::sendHeader('Content-Type: text/html; charset=utf-8'); echo $this->getMessageFromException($e); } else { - $this->outputTransparentGif (); + $this->outputTransparentGif(); } + die(1); exit; } |