Added logging if error is thrown in promise and no error handler is specified
Fix promise logging
Closes # 176 promises do not swallow exceptions