You must log in or register to comment.
I once wrote a script from beginning to end that executed correctly the first time I ran, I spent the next 30 minutes troubleshooting.
The moment you need to break your code to make sure it was working.
Running it in a test environment and then not having users test (vendor upgrade, in-house internal-facing app, or integration), and then being ordered to put it in prod, then people start mentioning the things they should've been mentioning all along. Can't blame them, as our timelines are short and every department is overworked and varying degrees of being understaffed.