Fix typo that was hiding all module errors

Print stack trace to log to help module development
Merge pull request #4 from carlossg/error-logging

Fix typo that was hiding all module errors