uselotus / lotus

File .deepsource.toml not found in the default branch of the repository root. Please refer to the docs.

Formatted string passed to logging module PYL-W1203
Performance
Minor
a year agoa year old
Use lazy % formatting in logging functions
20        }
21
22        # logs detail data from the exception being handled
23        logging.error(f"[DATA ERROR]: Original error detail and callstack: {exc}")24        # returns a JsonResponse
25        return Response(err_data, status=status.HTTP_400_BAD_REQUEST)
26