logging bundle error server side and sending a 500