Log exceptions to stdout