no Error Messages in imported python classes
<p>i have a couple of python classes, which i import and use in my main program. </p>

<pre><code>## path to classes
sys.path.append(basePath + "classes")

## import some classes
import mainmod

mainModHandler = mainmod.Mainmod()
</code></pre>

<p>I have no problem, working with them, but i wonder, if i have a error in my imported class, i do not get an error message from Python, that only works in my main.py</p>

<p>For example:</p>

<pre><code>class Mainmod(object):
'''
this class provides some helper methods
'''
def __init__(self, *args):
    provokeAnError{} # should provoke an error message?
</code></pre>

<p>My python prgramm (linux commandline) does finish but not with an error message. It just stays silent. I of course use try, excepts mostly, but sometimes little errors are unavoidable.</p>

<p>Where or how can i tell python, to give me an error message in my imported classes?</p>

<p>thanks for any help!
Maurice</p>
