Jump to content
sully8391

Still seeing errors with try/except

Recommended Posts

Hi all,

 

Is there a way to suppress error messages without turning off developer mode? I'm using VS functions within try/except statements, and I'm still getting error messages; I don't need to see that there's an error if I've told it what to do when there is one, and coding to avoid the error altogether is more cumbersome.

Share this post


Link to post
Posted (edited)

Vs errors are basically prints and no real exceptions, no way to catch them.

 

For what reason do you need developer mode enebaled then?

If it's just to show some prints you can put a link to the output on your desktop and disable dev mode:

 

C:\Users\admin\AppData\Roaming\Nemetschek\Vectorworks\2020\ErrorOut.txt

Edited by PatW

Share this post


Link to post

I'd like to remain in developer mode for as long as I'm editing external scripts. As I understand it, this ensures that the script is compiled every time it's run. Thanks for showing me the path to the ErrorOut text file, that should prove to be useful either way.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...