We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fe843a commit 3186145Copy full SHA for 3186145
1 file changed
generate_sdk_docs.py
@@ -307,7 +307,18 @@ class Program
307
return output
308
309
except subprocess.CalledProcessError as e:
310
- print(f"Error executing example for {method_name}: {e}")
+ # Log detailed error information to the console
311
+ print("=" * 80)
312
+ print(f"ERROR: Failed to execute example for method '{method_name}'")
313
+ print("-" * 80)
314
+ print(f"Command: {e.cmd}")
315
+ print(f"Return Code: {e.returncode}")
316
+ print("Standard Output:")
317
+ print(e.stdout or "(No output)")
318
319
+ print("Standard Error:")
320
+ print(e.stderr or "(No error details)")
321
322
return None
323
324
finally:
0 commit comments