cxb: fixing index and rss2 /data handler

This commit is contained in:
2023-11-25 13:23:39 -05:00
parent fe25359e8e
commit 7fb98118b2
2 changed files with 10 additions and 5 deletions

View File

@ -175,8 +175,8 @@ class CxbServlet(BaseServlet):
internal_ver = CxbConstants.VER_CROSSBEATS_REV_SUNRISE_S2
if not hasattr(self.versions[internal_ver], func_to_find):
self.logger.warn(f"{version_string} has no handler for filetype {filetype}")
return ""
self.logger.warn(f"{version_string} has no handler for filetype {filetype} / {func_to_find}")
return({"data":""})
self.logger.info(f"{version_string} request for filetype {filetype}")
self.logger.debug(req_json)