Exception handling retry logging