Skip to content

Commit

Permalink
add debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
daisieh committed Oct 24, 2024
1 parent bac213c commit c903578
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions candig_federation/federation.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ def get_service(self, service, endpoint_path, endpoint_payload):
except Exception as e:
self.status = 500
self.message = f"get_service: {type(e)} {str(e)}"
logger.debug(self.message)
return

def post_service(self, service, endpoint_path, endpoint_payload):
Expand Down Expand Up @@ -173,6 +174,7 @@ def post_service(self, service, endpoint_path, endpoint_payload):
except Exception as e:
self.status = 500
self.message = f"post_service: {type(e)} {str(e)}"
logger.debug(self.message)
return

def handle_server_request(self, request, endpoint_path, endpoint_payload, endpoint_service, header):
Expand Down

0 comments on commit c903578

Please sign in to comment.