Commit 01dfb550 authored by John Red Medrano's avatar John Red Medrano

{dev bugfix} removed the comment error_fuction to make it clean

parent 4784f802
...@@ -16,16 +16,6 @@ from app.businesslayer.changerequest.change_request_template import ( ...@@ -16,16 +16,6 @@ from app.businesslayer.changerequest.change_request_template import (
from app.applicationlayer.utils import error_message from app.applicationlayer.utils import error_message
# def error_message(code, message, status, status_code):
# return Response(
# {
# "code": code,
# "message": message,
# "status": status
# },
# status=status_code
# )
def error_safe(function): def error_safe(function):
def wrap(request, *args, **kwargs): def wrap(request, *args, **kwargs):
stat = status.HTTP_500_INTERNAL_SERVER_ERROR stat = status.HTTP_500_INTERNAL_SERVER_ERROR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment