Skip to content

Commit

Permalink
Get rid of ugly error when we try to uninstall when there is nothing to
Browse files Browse the repository at this point in the history
uninstall.
  • Loading branch information
chenson42 committed Apr 4, 2017
1 parent 36f12c4 commit a2dd802
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -702,8 +702,10 @@ public synchronized void uninstall() {
configurationService.deleteAllNodeGroupLinks();
}

// this should remove all triggers because we have removed all the trigger configuration
triggerRouterService.syncTriggers();
if (platform.readTableFromDatabase(null, null, TableConstants.getTableName(prefix, TableConstants.SYM_LOCK)) != null) {
// this should remove all triggers because we have removed all the trigger configuration
triggerRouterService.syncTriggers();
}
} catch (SqlException ex) {
log.warn("Error while trying to remove triggers on tables", ex);
}
Expand Down

0 comments on commit a2dd802

Please sign in to comment.