Print library scanning errors

If there is an error scanning a file, we should print what the error is
to ease debugging.
This commit is contained in:
Bryan Schumaker 2010-12-01 21:59:57 -05:00
parent b9117993e1
commit 86494f7f7f
1 changed files with 2 additions and 1 deletions

View File

@ -252,8 +252,9 @@ def update_path(path):
continue
try:
ref = FileRef(path)
except:
except Exception, e:
badfiles.add(ext)
print e
continue
try:
insert_track(path, ref)