Title: print statement in FileApiBase.commandJson should respect ignore_errors flag · Issue #61 · Smartling/api-sdk-python · GitHub
Open Graph Title: print statement in FileApiBase.commandJson should respect ignore_errors flag · Issue #61 · Smartling/api-sdk-python
X Title: print statement in FileApiBase.commandJson should respect ignore_errors flag · Issue #61 · Smartling/api-sdk-python
Description: 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 regardles...
Open Graph Description: 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, th...
X Description: 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, th...
Opengraph URL: https://github.com/Smartling/api-sdk-python/issues/61
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"print statement in FileApiBase.commandJson should respect ignore_errors flag","articleBody":"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).\n\nCurrently, 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.\n\nThe 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.\n\nThis 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.","author":{"url":"https://github.com/kenvac","@type":"Person","name":"kenvac"},"datePublished":"2025-08-15T08:54:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/61/api-sdk-python/issues/61"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d2663fa5-4f7a-f0d3-9034-37817d41a740 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A644:274D94:2790A42:33455CF:6974C583 |
| html-safe-nonce | 7cf020f26322c9a7d31617e4e4a536e26e9caca223f3399f41eebf78e5c27e05 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjQ0OjI3NEQ5NDoyNzkwQTQyOjMzNDU1Q0Y6Njk3NEM1ODMiLCJ2aXNpdG9yX2lkIjoiNDYyNTc0NTgzNjE1ODI3Mjg5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6afb87a82501e799f81080daa89d3fa62a477268d283145a7cee44256436f04d |
| hovercard-subject-tag | issue:3324738253 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Smartling/api-sdk-python/61/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a9bc42c58af3178f3d30f175dcd71b9807aa25381bbec55edd268a90f73e8ae3/Smartling/api-sdk-python/issues/61 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a9bc42c58af3178f3d30f175dcd71b9807aa25381bbec55edd268a90f73e8ae3/Smartling/api-sdk-python/issues/61 |
| og:image:alt | 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, th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kenvac |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/Smartling/api-sdk-python git https://github.com/Smartling/api-sdk-python.git |
| octolytics-dimension-user_id | 1492945 |
| octolytics-dimension-user_login | Smartling |
| octolytics-dimension-repository_id | 3796345 |
| octolytics-dimension-repository_nwo | Smartling/api-sdk-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3796345 |
| octolytics-dimension-repository_network_root_nwo | Smartling/api-sdk-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width