reconstruct log for exception