You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add payload logging for when --debug flag set
* Fix type in log message
* Fix issue with consuming request body before sending request on debug
* Add missing format string
* Add tests for debug payload
expectedLog: "############### PAYLOAD ###############\npayload sent to: http://localhost:8001/api/v2/environments/docs-cmd-test-user-shared\nthis is the payload being sent: \n {\n\"name\": \"test-environment\",\n\"type\": \"K8S\",\n\"description\": \"test-environment\",\n\"include_scaling\": true,\n\"require_provenance\": true\n}\n",
420
+
},
421
+
{
422
+
name: "GET request with debug does not log non-existent payload",
0 commit comments