<< Back to man.ChinaUnix.net

Chapter 8. 明断地发回信息

 

Do not answer a fool according to his folly, or you will be like him yourself.

 Proverbs 26:4 (NIV)
Table of Contents
最小化反馈
处理完整的/不响应的输出

最小化反馈

避免给予不可靠用户过多的信息;简单地成功或失败,如果失败就只说失败,使失败原因的信息最少。把详细的信息保存下来作为检查跟踪的日志文件。例如: