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:
parent
b9117993e1
commit
86494f7f7f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue