Catch only what you expect. We don't want to catch things like unknown variables (and other programming errors) and SystemExit.
This commit is contained in:
parent
239d2308c8
commit
f060342b5e
1 changed files with 1 additions and 1 deletions
|
@ -675,7 +675,7 @@ icon=gajim
|
||||||
Description=xmpp
|
Description=xmpp
|
||||||
''' % command)
|
''' % command)
|
||||||
f.close()
|
f.close()
|
||||||
except:
|
except IOError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Reference in a new issue