Ace_Gambit Posted September 20, 2008 Share Posted September 20, 2008 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. Link to comment
Gamesnert Posted September 20, 2008 Share Posted September 20, 2008 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? Link to comment
Ace_Gambit Posted September 20, 2008 Author Share Posted September 20, 2008 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
Gamesnert Posted September 20, 2008 Share Posted September 20, 2008 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
Recommended Posts