store exception backtrace in database