Skip to content

Commit

Permalink
ATS-35
Browse files Browse the repository at this point in the history
  • Loading branch information
madness-inc committed Jun 16, 2023
1 parent 14ad1c6 commit 0123764
Showing 1 changed file with 2 additions and 6 deletions.
Expand Up @@ -3,7 +3,6 @@
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectStreamException;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
Expand Down Expand Up @@ -147,16 +146,13 @@ public void processExpires() {
count.incrementAndGet();
log.debug(String.format("Expired session %s for site '%s'", id, site));
}
} catch (ObjectStreamException ose) {
} catch (Throwable t) {
log.info(String.format(
"%s occurred while checking session %s of site '%s' for expiration, so it will be removed: %s",
ose.getClass(), id, site, ose.getMessage()));
t.getClass(), id, site, t.getMessage()));
sessions.remove(id);
removeInternal(id);
count.incrementAndGet();
} catch (Throwable t) {
log.error(String.format("Error occurred while checking session %s of site '%s' for expiration", id,
site), t);
}
}
});
Expand Down

0 comments on commit 0123764

Please sign in to comment.