photoshop-python-api icon indicating copy to clipboard operation
photoshop-python-api copied to clipboard

When PS reports an error, the program stalls

Open javazhaoxiao opened this issue 3 years ago • 1 comments

This is not a BUG, but a problem I encountered. Whenever I call this API to operate PS, if there is an exception in PS, the picture is as follows: https://jv-product-01.s3.ap-southeast-1.amazonaws.com/error.png Ps will be stuck, and the program will wait forever for PS. I wonder if there is a way to solve this problem. I'm still catching exceptions the wrong way

javazhaoxiao avatar Feb 21 '22 09:02 javazhaoxiao

@javazhaoxiao Can you give me more contextual information? For example your test code.

In general, we can skip some errors through the default python try-catch

loonghao avatar Feb 28 '22 05:02 loonghao