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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to