We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17fd383 commit 93a0a04Copy full SHA for 93a0a04
mbed/mbed.py
@@ -396,7 +396,7 @@ def fetch_rev(url, rev):
396
# Download and write the data in 1 MB chunks
397
data = inurl.read(1024 * 1024)
398
outfd.write(data)
399
- except:
+ except Exception:
400
if os.path.isfile(rev_file):
401
os.remove(rev_file)
402
raise Exception(128, "Download failed!\nPlease try again later.")
0 commit comments