nuclei-action icon indicating copy to clipboard operation
nuclei-action copied to clipboard

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

Open allanbreyes opened this issue 2 years ago • 0 comments

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?

allanbreyes avatar Jan 13 '23 14:01 allanbreyes