Add exception logging to make it easier to detect missing setting keys