4889: improve error message, unit test
authorTim Pierce <twp@unchi.org>
Thu, 22 Jan 2015 22:05:36 +0000 (17:05 -0500)
committerTim Pierce <twp@unchi.org>
Thu, 22 Jan 2015 22:05:36 +0000 (17:05 -0500)
commit08671179720e2e8a96ef740c1b9c60c931477d20
treeff6a0d1191e2d648f075848231f44a7d0e3f2b0e
parent4c731f7597f251957b4ded726a0c33d8b8bf0ad7
4889: improve error message, unit test

Per review in #4889-17:

Updated the CopyPipeToChan error message to be more descriptive, for the
benefit of anyone reading log output.

Corrected the test to confirm that the error message is received even if
the child process does not close the stderr log (which matches the usage
patterns in production).
services/crunchstat/crunchstat.go
services/crunchstat/crunchstat_test.go