Jump to content

Annoying ACL debug messages


Ace_Gambit

Recommended Posts

Posted

I would like to suggest the removal of propagated error messages generated by the ACL functions, or at least don't make it output scary error messages by default when the function fails.

Posted

ACL debug/error messages? Never saw any of them...

Some messages I would like to see removed though are from the mapmanager and admin resources during refresh... =/

But what ACL messages do you mean?

Posted

When the function fails it automatically outputs an error message to your console (check your server window or debug log).

Try this for example (assuming you don't have an ACL in your acl.xml named "failure"):

  
aclGet("failure") 
  

This results in:

  
ERROR: Unable to get ACL; ACL failure does not exist 
  

While this is indeed true (there is no ACL named "failure") it is annoying to get an automatic error message.

Posted
When the function fails it automatically outputs an error message to your console (check your server window or debug log).

Try this for example (assuming you don't have an ACL in your acl.xml named "failure"):

  
aclGet("failure") 
  

This results in:

  
ERROR: Unable to get ACL; ACL failure does not exist 
  

Aah! You would like it to only return false for example?

I don't use ACL functions, but hearing this, well then I think I know it's annoying... Just like SQL, executeSQLCreateTable... If it already exists, no changes are made. However the message DOES appear... Annoying... =/

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...