Commit f757afef authored by Liang Ding's avatar Liang Ding

日志笔误

parent 79ba4050
...@@ -207,7 +207,7 @@ public class InitService { ...@@ -207,7 +207,7 @@ public class InitService {
final List<CreateTableResult> createTableResults = JdbcRepositories.initAllTables(); final List<CreateTableResult> createTableResults = JdbcRepositories.initAllTables();
for (final CreateTableResult createTableResult : createTableResults) { for (final CreateTableResult createTableResult : createTableResults) {
LOGGER.log(Level.DEBUG, "Create table result[tableName={0}, isSuccess={1}]", LOGGER.log(Level.DEBUG, "Create table result [tableName={0}, isSuccess={1}]",
createTableResult.getName(), createTableResult.isSuccess()); createTableResult.getName(), createTableResult.isSuccess());
} }
...@@ -232,12 +232,12 @@ public class InitService { ...@@ -232,12 +232,12 @@ public class InitService {
} catch (final Exception e) { } catch (final Exception e) {
if (0 == retries) { if (0 == retries) {
LOGGER.log(Level.ERROR, "Initialize Solo error", e); LOGGER.log(Level.ERROR, "Initialize Solo error", e);
throw new ServiceException("Initailize Solo error: " + e.getMessage()); throw new ServiceException("Initialize Solo error: " + e.getMessage());
} }
// Allow retry to occur // Allow retry to occur
--retries; --retries;
LOGGER.log(Level.WARN, "Retrying to init Solo[retries={0}]", retries); LOGGER.log(Level.WARN, "Retrying to init Solo [retries={0}]", retries);
} finally { } finally {
if (transaction.isActive()) { if (transaction.isActive()) {
transaction.rollback(); transaction.rollback();
......
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