I just checked, and:
* there's already a message logged with print()
* however this code is used (or should be used) by both the terminal and gtk frontend, so maybe throwing an exception and (try .. except ..) handling it with an appropriate log message/warning dialog depending on the frontend used might be even better.
Does that sound better?
I just checked, and:
* there's already a message logged with print()
* however this code is used (or should be used) by both the terminal and gtk frontend, so maybe throwing an exception and (try .. except ..) handling it with an appropriate log message/warning dialog depending on the frontend used might be even better.
Does that sound better?