Added console logging eerrors