Browse Source

Replace double starapp exception to json file

master
venkataakhil 1 year ago
parent
commit
d4f0227ced
  1. 4
      smart_service/apis/master_api.py

4
smart_service/apis/master_api.py

@ -510,6 +510,6 @@ def change_star_data():
with open(content_file, 'w') as outfile: with open(content_file, 'w') as outfile:
try: try:
outfile.write(json.dumps(updated_list)) outfile.write(json.dumps(updated_list))
except: except Exception as e:
pass outfile.write(json.dumps(str(e)))
return content_file return content_file
Loading…
Cancel
Save