Fix a missing second parameter in a PlMemcacheCache exception
[platal.git] / classes / plcache.php
index 9558b01..6d2b471 100644 (file)
@@ -479,7 +479,7 @@ class PlMemcacheCache implements PlCacheBackend
         $value = $this->context->get($key);
         if ($value === false) {
             if (is_null($callback)) {
-                throw new PlNotFoundInCacheException($key);
+                throw new PlNotFoundInCacheException($key, $type);
             }
             $value = call_user_func_array($callback, $cbargs);
             $this->set($key, $type, $value, $expire);