Repository navigation
v2.1.1 - Debug Flag & Improved Error Handling
What's New
Debug Mode
Added --debug flag to the usagym:test command for troubleshooting API connection issues:
php artisan usagym:test --debugShows 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