diff --git a/pyopencl/cache.py b/pyopencl/cache.py
index 48b6270edcdc107b1aa006b4202feb3e6a29b36f..3e4bc65d13dc62267c5d12e3346842e4617327c8 100644
--- a/pyopencl/cache.py
+++ b/pyopencl/cache.py
@@ -480,7 +480,6 @@ def create_built_program_from_source_cached(ctx, src, options_bytes, devices=Non
             already_built = False
 
     except Exception as e:
-        raise
         from pyopencl import Error
         if (isinstance(e, Error)
                 and e.code == _cl.status_code.BUILD_PROGRAM_FAILURE):