Jump to content
UBot Underground

Error management in commands: Suggestions or possible feature request


Recommended Posts

Hi

Is it possible to have a command that "listens" for particular errors in UBOT so we dont have to keep dropping the error management into the routine?

 

Example we have a command that catches potential errors or failures.

These "exist function" statements hold the remedy for the particular errors, so the bot can adjust and move on with task.

 

Now currently I am putting the call to the custom function in the areas where the failures could happen as the bot runs the routine.

 

I was just wondering if there is a way that we can use the error catching function to listen for the possible errors and if it hears the error it reacts.

 

Was just wondering if this is possible and if not could it be added as a feature.

This will make the bots pretty robust.

 

Will be good to hear how you guys manage your error controls

 

 

Matt

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.

Loading...
×
×
  • Create New...