carloea2 commented on code in PR #8155:
URL: https://github.com/apache/texera/pull/8155#discussion_r3936745702


##########
amber/src/main/scala/org/apache/texera/web/resource/dashboard/hub/EntityTables.scala:
##########
@@ -69,6 +71,7 @@ object EntityTables {
 
   def apply(entityType: EntityType): EntityTableSet =
     entityType match {
+      case null                => throw new BadRequestException("Missing 
entityType")

Review Comment:
   Added endpoint-level checks for getCount and getTops.



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

Reply via email to