Fixes typo in exception message
Improve error message

Print complete exception and stack trace with or without initialized logger.