added better logging for exceptions. should now serialize full exception details.