protected BatchStorage::catchException(\Exception $e)
Act on an exception when batch might be stale.
If the table does not yet exist, that's fine, but if the table exists and yet the query failed, then the batch is stale and the exception needs to propagate.
Parameters
$e: The exception.
Throws
\Exception
File
- core/lib/Drupal/Core/Batch/BatchStorage.php, line 195
Class
Namespace
Drupal\Core\Batch
Code
protected function catchException(\Exception $e) { if ($this->connection->schema()->tableExists(static::TABLE_NAME)) { throw $e; } }
Please login to continue.