I was wondering if there is a way to not log login exceptions (SFSLoginException)
we have implemented a global exception listeners for logs and other stuff, but the way SFS implements the SFS Login exception is that you have to throw the exception to make the user fail to login
this is flodding our analytics tool and the logs file, the login exceptions is by far the most exception being fired, is there away to not send this to the logs?
small example in Event Handler
Code: Select all
try {
handle
} catch (Exception e) {
if(e instanceof SFSLoginException)
throw (SFSLoginException)e; // in order to raise the login failed event, the exception should be thrown not handled
else
e.printStackTrace();
}