Jump to content

QuickApp:error(message, …) vs debug(message, ...)


Recommended Posts

@A.Socha
 

Since 5.030 we have QuickApp:error(message, …) for error situations. 

 

In the online manuals the examples show:

error = function(error)
        self:debug("Error:", error)
    end})

Shouldn’t that be:

error = function(error)
        self:error("Error:", error)
    end})

?

 

because it is an error situation?

Edited by SmartHomeEddy
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...