Toggle navigation
Polycount
News
Forums
Patreon
Challenges
Quarterly Character Art Challenge
Bi-Monthly Environment Art Challenge
Wiki
Moar
Recent
Activity
Badges
Drafts
Store
Sign In
·
Register
Author:
valentin_baguirov
Home
›
Coding, Scripting, Shaders
Mel script, any way to suppress an error I don't care about?
malcolm
polycount sponsor
Offline /
Send Message
malcolm
polycount sponsor
Feb 2019
I'm getting an error in my script that has no affect on the way it functions, I want to stop errors so I can print the message I care about. Is there a way to do this?
0
·
Share on Facebook
Share on Twitter
Replies
Offline /
Send Message
haiddasalami
polycounter lvl 14
Feb 2019
There is catch and catchQuiet. Might help you.
0
·
Share on Facebook
Share on Twitter
Offline /
Send Message
malcolm
polycount sponsor
Feb 2019
I actually looked into catchQuiet before I posted, but I couldn't figure out how to make it work?
0
·
Share on Facebook
Share on Twitter
Offline /
Send Message
kaspersp
polycounter lvl 10
Feb 2019
You could just suppress errors in the script editor, I guess?
Look at scriptEditorInfo.
0
·
Share on Facebook
Share on Twitter
Offline /
Send Message
malcolm
polycount sponsor
Feb 2019
I was hoping to deliver the script to others so I wanted to suppress just the one error that doesn't really affect anything.
0
·
Share on Facebook
Share on Twitter
Sign In
or
Register
to comment.
Replies
Look at scriptEditorInfo.