You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownew \RuntimeException(sprintf('Failed to delete index %s with message: %s', $indexName, $deleteOldIndexException->getMessage()), 0, $deleteOldIndexException);
81
+
thrownew \RuntimeException(sprintf('Failed to delete index "%s" with message: "%s"', $indexName, $deleteOldIndexException->getMessage()), 0, $deleteOldIndexException);
thrownew \RuntimeException(sprintf('Failed to delete index %s with message: %s', $indexName, $deleteOldIndexException->getMessage()), 0, $deleteOldIndexException);
145
+
thrownew \RuntimeException(sprintf('Failed to delete index "%s" with message: "%s"', $indexName, $deleteOldIndexException->getMessage()), 0, $deleteOldIndexException);
146
146
}
147
147
}
148
148
@@ -157,7 +157,7 @@ private function closeIndex(Client $client, $indexName)
157
157
$path = sprintf('%s/_close', $indexName);
158
158
$client->request($path, Request::POST);
159
159
} catch (ExceptionInterface$e) {
160
-
thrownew \RuntimeException(sprintf('Failed to close index %s with message: %s', $indexName, $e->getMessage()), 0, $e);
160
+
thrownew \RuntimeException(sprintf('Failed to close index "%s" with message: "%s"', $indexName, $e->getMessage()), 0, $e);
161
161
}
162
162
}
163
163
@@ -191,7 +191,7 @@ private function getAliasedIndex(Client $client, $aliasName)
191
191
}
192
192
193
193
if (count($aliasedIndexes) > 1) {
194
-
thrownew \RuntimeException(sprintf('Alias %s is used for multiple indexes: [%s]. Make sure it\'s'.'either not used or is assigned to one index only', $aliasName, implode(', ', $aliasedIndexes)));
194
+
thrownew \RuntimeException(sprintf('Alias "%s" is used for multiple indexes: ["%s"]. Make sure it\'s'.'either not used or is assigned to one index only', $aliasName, implode('", "', $aliasedIndexes)));
0 commit comments