ENG-5540 added printstaketrace to exception