Skip to content
This repository was archived by the owner on May 15, 2018. It is now read-only.

Commit c70484d

Browse files
committed
Some simple error logging.
1 parent 49788bc commit c70484d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Falcon/Cache/Falcon_VarnishCache.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,9 @@ public function purgeByKeys(array $keys = [])
4545
'message' => $response->getReasonPhrase()
4646
]);
4747
throw new \Exception($errorMsg);
48-
4948
}
5049
} catch (\Exception $e) {
51-
throw $e;
50+
\Craft\FalconPlugin::log($e->getMessage(), \Craft\LogLevel::Error);
5251
}
5352

5453
}

0 commit comments

Comments
 (0)