In smartlingApiSdk/FileApiBase.py, the commandJson method contains a print statement that is executed whenever an API call returns a non-successful status code (i.e., not 200 or 202).
Currently, this print statement is executed regardless of whether the ignore_errors flag is present in the request parameters. This leads to unwanted console output even when errors are being handled gracefully by the calling application.
The print statement should only be executed if the ignore_errors flag is False. The method should check for the ignore_errors parameter and use its value to conditionally suppress the error message.
This change ensures that the behavior of commandJson is consistent with the ignore_errors flag, allowing developers to have cleaner logs when they are programmatically handling API errors.