Commit d6af6fc9 authored by xjm's avatar xjm

Issue #2597548 by jhodgdon, tim.plunkett: Useless message thrown by...

Issue #2597548 by jhodgdon, tim.plunkett: Useless message thrown by SqlContentEntityStorage::wrapSchemaException()
parent 3a8cb0d5
......@@ -1453,9 +1453,11 @@ protected function wrapSchemaException(callable $callback) {
$callback();
}
catch (SchemaException $e) {
$message .= ' ' . $e->getMessage();
throw new EntityStorageException($message, 0, $e);
}
catch (DatabaseExceptionWrapper $e) {
$message .= ' ' . $e->getMessage();
throw new EntityStorageException($message, 0, $e);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment