I’m running octopus deploy 3.0 and wanted some information on how to log errors and handle exceptions in ScriptCS steps. It seems like the errors returned are pretty ambiguous and I would like somewhere to log the stack trace, etc. Does anyone have more information on this subject?
I think I found my answer.
Thanks for getting in touch. I’m glad you figured it out on your own! For completeness I’ve added some more information about logging from different script languages: http://docs.octopusdeploy.com/display/OD/Custom+scripts
Also, check out the Script Console, which is an easy way to test how scripts will run on any given deployment target: http://docs.octopusdeploy.com/display/OD/Script+Console
Hope that helps!