You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
discards the exception message from pyscreeze. I find the "(highest confidence =x)" part of the message super-useful, so perhaps you'd be willing to propagate it through with something like: raise ImageNotFoundException(str(ex)) # Raise PyAutoGUI's ImageNotFoundException.
pyautogui/pyautogui/__init__.py
Line 174 in b4255d0
discards the exception message from pyscreeze. I find the "(highest confidence =x)" part of the message super-useful, so perhaps you'd be willing to propagate it through with something like:
raise ImageNotFoundException(str(ex)) # Raise PyAutoGUI's ImageNotFoundException.
(The exceptions I care about are initially thrown here: https://github.com/asweigart/pyscreeze/blob/eeca245a135cf171c163b3691300138518efa64e/pyscreeze/__init__.py#L256C70-L256C91 )
The text was updated successfully, but these errors were encountered: