File tree Expand file tree Collapse file tree
src/org/openlowcode/server/runtime Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6767import org .openlowcode .server .security .ActionObjectSecurityManager ;
6868import org .openlowcode .server .security .ActionSecurityManager ;
6969import org .openlowcode .server .security .SecurityBuffer ;
70+ import org .openlowcode .server .security .ServerSecurityBuffer ;
7071
7172/**
7273 * The component in the sever managing connections with the clients
@@ -870,9 +871,14 @@ private void treatThrowable(
870871 // performance.
871872 PersistenceGateway .releaseForThread ();
872873 String usertrace = "unauthenticated" ;
873- if (userid != null )
874+ if (userid != null ) {
874875 usertrace = userid .getId ();
875- logger .severe ("Exception while treating action " + actionname + " to to ip = " + ip + ", for session of user "
876+ Appuser user = ServerSecurityBuffer .getUniqueInstance ().getUserPerUserId (userid );
877+ if (user !=null ) usertrace = user .getNr ()+" - " +user .getName ()+" - " +userid .getId ();
878+ }
879+
880+
881+ logger .severe ("Error while treating action " + actionname + " to to ip = " + ip + ", for session of user "
876882 + usertrace );
877883 ExceptionLogger .setInLogs (e , logger );
878884 writer .sendMessageError (1 , e .getClass ().toString () + " - " + e .getMessage ());
You can’t perform that action at this time.
0 commit comments