pzampino commented on a change in pull request #438:
URL: https://github.com/apache/knox/pull/438#discussion_r621264919
##########
File path:
gateway-server/src/main/java/org/apache/knox/gateway/services/token/impl/TokenStateDatabase.java
##########
@@ -41,6 +48,33 @@
TokenStateDatabase(DataSource dataSource) throws Exception {
this.dataSource = dataSource;
+ createKnoxTokensTableIfNotExists();
+ }
+
+ private void createKnoxTokensTableIfNotExists() throws Exception {
Review comment:
Just curious what happens if the table creation throws an Exception.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]