On Tue, Aug 23, 2016 at 11:39 PM,  <dima.olk...@cell-buddy.com> wrote:
> On Tuesday, August 23, 2016 at 6:42:53 AM UTC-7, Chris Angelico wrote:
> > On Tuesday, August 23, 2016 at 4:09:07 PM UTC+3, dimao wrote:
> > >       except:
> > >            print ('Error')
> >
> >
> > Don't do this.
> >
> > ChrisA
> 
> I did that only for the debug reasons :-)

That makes it even worse.  If you're trying to debug something, you want as 
much information as you can get, and you're throwing it all away.

If you want your program to keep going no matter what happened, at *least* 
print the stack trace, and not just "Error".
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to