Jump to content

Annoying ACL debug messages


Ace_Gambit

Recommended Posts

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.

Link to comment
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... =/

Link to comment
  • Recently Browsing   0 members

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