I scanned the Information Exposure Through an Error Message and automatically wrote the log file when my code runs incorrectly. How can I solve it?