log runtime exceptions