protected AliasStorage::catchException(\Exception $e)
Act on an exception when url_alias 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 url_alias is stale and the exception needs to propagate.
Parameters
$e: The exception.
Throws
\Exception
File
- core/lib/Drupal/Core/Path/AliasStorage.php, line 401
Class
- AliasStorage
- Provides a class for CRUD operations on path aliases.
Namespace
Drupal\Core\Path
Code
protected function catchException(\Exception $e) { if ($this->connection->schema()->tableExists(static::TABLE)) { throw $e; } }
Please login to continue.