Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added debug lines. #36890

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,9 @@ def fetch_and_create_indicators(client, risk_rule: str | None = None):
"""
for indicators in fetch_indicators_command(client, client.indicator_type, risk_rule):
demisto.debug('RF: Creating indicators')
demisto.debug(f'***RF: indicators list len: {len(indicators)}')
for curr_ind in indicators:
demisto.debug(f"***RF: Current indicator: {curr_ind}")
demisto.createIndicators(indicators)


Expand Down Expand Up @@ -613,6 +616,7 @@ def main(): # pragma: no cover
return_outputs(readable_output, outputs, raw_response)
except Exception as e:
err_msg = f'Error in {INTEGRATION_NAME} Integration [{e}] \n Traceback: {traceback.format_exc()}'
demisto.debug(f'***RF: error message: {err_msg}')
return_error(err_msg)


Expand Down
Loading