#3258: Only show detailed connect exception to admins
This commit is contained in:
parent
34d416a4e8
commit
862bb2ac72
@ -372,7 +372,7 @@ public final class UserConnection implements ProxiedPlayer
|
|||||||
|
|
||||||
private String connectionFailMessage(Throwable cause)
|
private String connectionFailMessage(Throwable cause)
|
||||||
{
|
{
|
||||||
return Util.exception( cause, false );
|
return groups.contains( "admin" ) ? Util.exception( cause, false ) : cause.getClass().getName();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user