Improve error message.

This commit is contained in:
Paulo Gustavo Veiga
2024-02-29 19:38:16 -08:00
parent d7ac0ec28f
commit 34acc83582
2 changed files with 13 additions and 16 deletions

View File

@@ -30,7 +30,7 @@ public class AccessDeniedSecurityException
}
public AccessDeniedSecurityException(@NotNull long mapId, Collaborator user) {
super("No enough permissions to access map. Id: " + mapId + ", User: " + user, Severity.FATAL);
super("You do not have enough right access to see this map. This map has been changed to private or deleted.", Severity.FATAL);
}
@NotNull