Some exception logging would be nice here.