LN_CORE:  Log exceptions in unit tests.