eval event callbacks so that error is pretty printed