Skip to content

Commit

Permalink
include connector type in logger error
Browse files Browse the repository at this point in the history
  • Loading branch information
delliott90 committed Sep 29, 2023
1 parent 365011d commit dad1e5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stix_shifter_utils/utils/error_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def fill_error(return_object, message_struct=None, message_path=None, message=No
error_msg = ''
if error is not None:
str_error = str(error)
logger.error("error occurred: " + str_error)
logger.error(connector + " connector error occurred: " + str_error)
logger.debug(utils_logger.exception_to_string(error))
if isinstance(error, SSLError):
error_code = ErrorCode.TRANSMISSION_AUTH_SSL
Expand Down

0 comments on commit dad1e5b

Please sign in to comment.