You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@helix.apache.org by GitBox <gi...@apache.org> on 2020/10/16 20:54:42 UTC

[GitHub] [helix] narendly opened a new issue #1474: Improve exception message in Helix APIs

narendly opened a new issue #1474:
URL: https://github.com/apache/helix/issues/1474


   ### Describe the bug
   A user had feedback:
   
   > A second suggestion, please improve the Exception message. I was confused by the message “NoSuchElementException: No sharding key found within the provided path. Path: /<redacted>/IDEALSTATES/<redacted>” , until one of our dev pointed out it could be due to non existent cluster. I would suggest change the message to be more clear, say “no cluster <redacted> exists in the system”. That would give more information.
   
   ### To Reproduce
   N/A
   
   ### Expected behavior
   Helix API should catch these NoSuchElementException's and throw a different exception with a better error message.
   
   ### Additional context
   N/A
   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org