actually pass error messages back to index.js from modules