oncomplete promise failures are errored to console

PR for that fixes #1425. Need to run through code for other promise callbacks that might need to be handled. 

Also added console.error to log module. Will do separate PR to consolidate rest of code to use log.