Skip to content

Add per-step error handling to java11 Demo#111

Merged
jacalata merged 2 commits into
developmentfrom
jac/java11-demo-error-handling
Jul 15, 2026
Merged

Add per-step error handling to java11 Demo#111
jacalata merged 2 commits into
developmentfrom
jac/java11-demo-error-handling

Conversation

@jacalata

Copy link
Copy Markdown
Contributor

Summary

  • Each API step in Demo.java now catches exceptions independently, so the demo continues even if one step fails (e.g. project not found, group already exists)
  • Published workbook name gets the current HH-mm timestamp appended to avoid name collisions on repeated runs

Test plan

  • Run the java11 sample end-to-end — confirm all steps log clearly on success
  • Simulate a failure (e.g. wrong project name in config) — confirm the demo continues past the failed step and logs the error

🤖 Generated with Claude Code

Each API step now catches exceptions independently so the demo continues
even if one step fails. Published workbook name gets an HH-mm timestamp
appended to avoid collisions on repeated runs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign-in failure now logs the full exception and exits cleanly rather than
throwing before invokeSignOut can run. All catch blocks now pass the
exception object to logger.error() for full stack traces.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jacalata
jacalata merged commit f2a7e3c into development Jul 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants