basic crash error logging