adding logging

This commit is contained in:
Krrish Dholakia 2023-08-19 21:32:45 -07:00
parent 09a04f5b69
commit ef17a0fffd
4 changed files with 2 additions and 4 deletions

View file

@ -185,14 +185,12 @@ class Logging:
litellm_call_id=self.litellm_params["litellm_call_id"],
print_verbose=print_verbose,
)
pass
except:
pass
print_verbose(f"LiteLLM.LoggingError: [Non-Blocking] Exception occurred while logging with integrations {traceback.format_exc}")
except:
print_verbose(
f"LiteLLM.LoggingError: [Non-Blocking] Exception occurred while logging {traceback.format_exc()}"
)
pass
def post_call(self, input, api_key, original_response, additional_args={}):
# Do something here