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

Infrequent error: "Cannot read properties of undefined (reading 'replace')" #51

Closed
allanbreyes opened this issue Jan 13, 2023 · 3 comments · Fixed by #88
Closed

Infrequent error: "Cannot read properties of undefined (reading 'replace')" #51

allanbreyes opened this issue Jan 13, 2023 · 3 comments · Fixed by #88
Assignees

Comments

@allanbreyes
Copy link

Hi, team! We infrequently receive an error, maybe ~1-5% of the time:

Error: Cannot read properties of undefined (reading 'replace')

There's only 3 places in the codebase that call .replace, and I suspect it's the call to getLatestInfo sometimes having a transient error. I think it probably needs a retry, or at least some slightly better error-handling and logging. I can take a stab at it if I have some free cycles next week. Thoughts?

@CCDi
Copy link

CCDi commented Jul 12, 2024

Hi team! Any thoughts/updates on this error? We bumped into it once again! 🙏

@RamanaReddy0M
Copy link
Contributor

RamanaReddy0M commented Jul 24, 2024

@allanbreyes @CCDi added undefinded/existence checks before applying replace(..)

Error: Cannot read properties of undefined (reading 'replace')

will be fixed with #88

@CCDi
Copy link

CCDi commented Nov 25, 2024

Hi ya'll, thank you so much for fixing this issue! Would you mind releasing a new version of the nuclei-action so we can utilize this fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants