Skip to content

Commit

Permalink
Eliminate stack trace if no metadata table
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Sep 29, 2018
1 parent b31acb1 commit 89bdbbf
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -131,7 +131,8 @@ private DeclaredVersion determineDeclaredVersion() {
throw new IllegalStateException("More than one value of " + RGlobalMetadata.DATABASE_SCHEMA_VERSION + " present: " + result);
}
} catch (Throwable t) {
LOGGER.info("Database schema version could not be determined: {}", t.getMessage(), t); // todo debug
LOGGER.warn("Database schema version could not be determined: {}", t.getMessage());
LOGGER.debug("Database schema version could not be determined: {}", t.getMessage(), t);
return new DeclaredVersion(DeclaredVersion.State.METADATA_TABLE_MISSING, null);
}
}
Expand Down

0 comments on commit 89bdbbf

Please sign in to comment.