log exception in preshuffle