Skip to content

Commit

Permalink
2024年8月16日 屏蔽headers数据01
Browse files Browse the repository at this point in the history
  • Loading branch information
ss1917 committed Aug 16, 2024
1 parent c98d2a8 commit d7fdba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mg/subscribe.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ def process_message(msg_id, fields):
start_time = log_data_dict.get('start_time')
start_time = int(start_time) / 1000
times = datetime.datetime.fromtimestamp(start_time)
log_data_dict['start_time'] = times
except Exception as err:
logging.error(f"datetime.datetime.fromtimestamp {start_time} {err}")
log_data_dict['start_time'] = times
logging.error(f"datetime.datetime.fromtimestamp {err}")
# logging.info(log_data_dict)
return log_data_dict

Expand Down

0 comments on commit d7fdba2

Please sign in to comment.