I have tried to isolate this problem (to produce it outside my app), but I can't.

try {
    $has_cache = Cache::has($cache_key);
}
catch (DecryptException $e) {
    echo "No biggie";
    exit;
}

I also tried with a catch (Exception $e), the same thing happens.

Using this code, I get a DecryptException in the second line. How can this happen, it's in the try block?

Like I said, I tried to do the same on a clean project, but there it caught the exception, so I'm asking where could I have messed something up.

Edit
Report