Closed cadam11 closed 1 month ago
This PR addresses issue #32, which reports errors when users run commands through the wrapper, resulting in unparseable JSON responses.
JSON.parse
SyntaxError
Fix: Add Logging for Unparseable JSON Responses
Description
This PR addresses issue #32, which reports errors when users run commands through the wrapper, resulting in unparseable JSON responses.
Changes Made
JSON.parse
attempt to log the raw response if aSyntaxError
is caught.