Log complete error details when an error is present in the result in ApiViews

1 parent 040be38b
......@@ -133,7 +133,7 @@ class ApiViews(APIView):
# d[k] =f'<a href="{link}" target="_blank">View</a>'
if result.get("error"):
_log.error(result.get("error"))
# _log.error(str(result))
_log.error(str(result))
return result
def not_found(self, msg=None):
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!