4 ms·
Is there a reason to catch all those exceptions? If you're just sys.exit()ing anyways, why sacrifice all the traceback info?
by rflrob 14y ago
Is there a reason to catch all those exceptions? If you're just sys.exit()ing anyways, why sacrifice all the traceback info?
- yk 14y agoYou should always assume, that a best effort network fails. Therefore, you should always handle the exceptions ( even in a trivial example).