Added bender.error function logging error's stack in the console.