Try one more time before throwing error on template cache file write

This commit is contained in:
Kijin Sung 2025-07-12 20:30:15 +09:00
parent 4193edde25
commit 9d98e47c53

View file

@ -368,7 +368,10 @@ class Template
$content = $this->parse();
if (!Storage::write($this->cache_path, $content))
{
throw new Exception('Cannot write template cache file: ' . $this->cache_path);
if (!Storage::write($this->cache_path, $content))
{
throw new Exception('Cannot write template cache file: ' . $this->cache_path);
}
}
}