add log
This commit is contained in:
parent
1acbc18b22
commit
6b2592755e
|
@ -1534,7 +1534,8 @@ class GetProjectTreeView(View):
|
|||
project_jstree = projectTreeObj.get_project_tree_by_projectid(project.id)
|
||||
path_id_map = projectTreeObj.get_project_pathidmap_by_projectid(project.id)
|
||||
return HttpResponse(json.dumps({"status": "success","project_jstree":project_jstree}), content_type='application/json')
|
||||
except:
|
||||
except Exception as e:
|
||||
logging.error(str(e))
|
||||
return HttpResponse(json.dumps({"status": "fail"}), content_type='application/json')
|
||||
|
||||
class SaveUserBehaviorView(View):
|
||||
|
|
Loading…
Reference in New Issue