Skip to content

v2.1.1 - Debug Flag & Improved Error Handling

Choose a tag to compare

@AustinW AustinW released this 11 Jan 05:45
· 14 commits to main since this release

What's New

Debug Mode

Added --debug flag to the usagym:test command for troubleshooting API connection issues:

php artisan usagym:test --debug

Shows detailed request/response information:

  • HTTP method and URL
  • Request headers (Authorization header partially masked)
  • Response status code
  • Response headers
  • Response body (first 500 characters)

Improved Error Handling

  • Better error messages when API requests fail
  • Shows actual HTTP status code and response body
  • Catches all exceptions to prevent uncaught errors

Full Changelog: v2.1.0...v2.1.1