redirecting stderr to err function

前端 未结 0 1928
南方客
南方客 2020-12-07 10:44

I want to trap errors with my err function, which writes to the stderr. But in this example I am getting two error lines. How can I remove the first error msg not generated

相关标签:
回答
  • 消灭零回复
提交回复
热议问题