We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dfc4517 + 3741894 commit d44183aCopy full SHA for d44183a
1 file changed
src/GateKeeper.php
@@ -288,7 +288,7 @@ private function setCookie($cookie)
288
*/
289
public function recordPerformance($httpCode=200)
290
{
291
- if(@$this->result->responseID) {
+ if(property_exists($this->result, 'responseID')) {
292
$time = $this->timer->elapsed();
293
$this->client->responses->put($this->result->responseID, array('code'=>$httpCode, 'time'=>$time));
294
$this->debug('Page performance was recorded '.$time);
0 commit comments