Hi, i think we should check if the context of the @ExceptionHandler is currently active before calling it.
2014-09-13 11:05 GMT+02:00 Karl Kildén <[email protected]>: > Hello, > > SessionScoped @ExceptionHandler is this supported / considered normal > practice? The problem is when the exception is from a job with no active > sessionscope I get ContextNotActiveException. > > I was excepting a log message warning me that it could not send it for > obvious reasons... My SessionScoped exceptionhandler collects information > per user basis and it works smoothly when the exception was caused by user > action. > > cheers >
