Commit db40ee1a authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

tweak dm.dfs_rc_query()

parent 847adc08
...@@ -746,20 +746,20 @@ class CsstMsDataManager: ...@@ -746,20 +746,20 @@ class CsstMsDataManager:
) )
if cat["code"] == 0: if cat["code"] == 0:
self.logger_ppl.info( self.logger_ppl.info(
f"Results from DFS CATAPI: \n" f"Results from DFS CATAPI:\n"
f" - code = {cat['code']}" f" - code = {cat['code']}\n"
f" - message = {cat['message']}" f" - message = {cat['message']}\n"
f" - totalCount = {cat['totalCount']}" f" - totalCount = {cat['totalCount']}\n"
f" - columns = {cat['columns']}" f" - columns = {cat['columns']}"
) )
return self.dfs_CatApi.to_table(cat) return self.dfs_CatApi.to_table(cat)
else: else:
self.logger_ppl.info( self.logger_ppl.info(
f"Results from DFS CATAPI: \n" f"Results from DFS CATAPI:\n"
f" - code = {cat['code']}" f" - code = {cat['code']}\n"
f" - message = {cat['message']}" f" - message = {cat['message']}"
) )
raise ValueError("Bad results!") raise ValueError("Bad catalog query result!")
def dfs_l1_push(self): def dfs_l1_push(self):
""" Push MBI/SLS L1 data to DFS. """ """ Push MBI/SLS L1 data to DFS. """
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment