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

Add note about printing debug logs #1684

Merged
merged 1 commit into from
Jan 19, 2025
Merged

Conversation

ShirleyDenkberg
Copy link
Contributor

Status

Ready/In Progress/In Hold (Reason for hold)

Related Issues

fixes: link to the issue

Description

@Bharathwaj-Murali wrote in Slack (https://panw-global.slack.com/archives/C01225PADU1/p1736790008630149):
Can this docs be updated in this section https://xsoar.pan.dev/docs/tutorials/tut-integration-ui#integration-code to indicate that demisto.debug must be used to print debug logs? Using print statement can cause unexpected exceptions and errors.
https://panw-global.slack.com/archives/C011E5T5K17/p1715157686327079
I just had a customer report issue and they used print in the integration code. Replacing that with demisto.debug fixed the issue. Can we update the docs to ensure we have it noted?

Screenshots

Paste here any images that will help the reviewer

@content-bot
Copy link
Collaborator

Preview Site Available

Congratulations! The automatic build has completed successfully.
A preview site is available at: https://xsoar-pan-dev--pull-request-1684-bidbcu86.web.app


Important: Make sure to inspect your changes at the preview site.

Detected modified urls:

@ShirleyDenkberg ShirleyDenkberg merged commit bf6ee46 into master Jan 19, 2025
8 of 9 checks passed
@ShirleyDenkberg ShirleyDenkberg deleted the ShirleyDenkberg-patch-9 branch January 19, 2025 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants