capture error message from intermittent failure of copy-tests.js