You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if the AJAX call that Plugin Report does to retrieve a plugin's info fails completely, the process breaks. All following plugins are not processed, and thus no info is shown for them.
We should add at least a very basic callback for when this happens, that displays a row, probably with an error message. Following rows should be processed.
The AJAX call had no error handler — if a request failed (network, timeout, 500), the success callback never fired and rtpr_process_next_plugin() was never called, breaking the chain.
Fix adds:
.fail() handler that shows an error row and continues to the next plugin
try/catch around JSON.parse for malformed responses
This complements #92 which prevents the server-side from failing — this PR handles transport-level failures.
Activity
apermo commentedon Apr 14, 2026
PR at #95.
The AJAX call had no error handler — if a request failed (network, timeout, 500), the success callback never fired and
rtpr_process_next_plugin()was never called, breaking the chain.Fix adds:
.fail()handler that shows an error row and continues to the next plugintry/catcharoundJSON.parsefor malformed responsesThis complements #92 which prevents the server-side from failing — this PR handles transport-level failures.