findingrish commented on code in PR #14382:
URL: https://github.com/apache/druid/pull/14382#discussion_r1225334786


##########
server/src/main/java/org/apache/druid/metadata/SQLMetadataSupervisorManager.java:
##########
@@ -259,7 +261,8 @@ public Pair<String, SupervisorSpec> map(int index, 
ResultSet r, StatementContext
                           );
                         }
                         catch (IOException e) {
-                          throw new RuntimeException(e);
+                          log.error(e, "Could not map json payload to a 
SupervisorSpec for spec_id: [%s]", r.getString("spec_id"));

Review Comment:
   The bad supervisor doesn't show up in the status tab. I have updated the 
exception message. 



-- 
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.

To unsubscribe, e-mail: [email protected]

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