Viagra experiences Maybe I should title this post ‘How to write a better error message’ instead.
Viagra experiences I just went on a wild goose chase trying to find the solution to an error I kept seeing in SQL Server Management Studio every time I tried to run a query or open a table for editing (or anything else that would end up executing a SQL query). The error message?
Viagra experiences The file exists
Viagra experiences Not exactly useful.
Viagra experiences It turns out my temp directory was ‘full’. The message sort of makes sense, viagra experiences now that I know what the problem was, viagra experiences but it isn’t really possible to draw the correct conclusion from that error message.
Viagra experiences So two takeaways (for me):
- Craft error messages carefully. The whole reason for showing/logging error messages in the first place is to create some kind of traceability to a problem. The information contained in an error message should lead the user to a better understanding of the problem and possibly an indication of if they might be able to fix it. Viagra experiences
- The file exists means clear your temp directory first, viagra experiences before chasing that goose. Viagra experiences