Skip to content

Commit

Permalink
Improve error message when exchange manager is not configured
Browse files Browse the repository at this point in the history
Once the documentation is available we may also want to extend the
message with a reference to failure recovery documentation.
  • Loading branch information
arhimondr authored and losipiuk committed Jan 27, 2022
1 parent 6db699f commit a92c96c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public ExchangeManager getExchangeManager()
{
ExchangeManager exchangeManager = this.exchangeManager;
if (exchangeManager == null) {
throw new TrinoException(EXCHANGE_MANAGER_NOT_CONFIGURED, "Exchange manager is not configured");
throw new TrinoException(EXCHANGE_MANAGER_NOT_CONFIGURED, "Exchange manager must be configured for the failure recovery capabilities to be fully functional");
}
return exchangeManager;
}
Expand Down

0 comments on commit a92c96c

Please sign in to comment.