Skip to content

Commit a1842a7

Browse files
jonoomphferdnyc
andauthored
Apply suggestions from code review
Co-authored-by: Frank Dana <[email protected]>
1 parent 524fbdc commit a1842a7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/classes/app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def __init__(self, *args, mode=None):
102102
log.info("qt5 version: %s" % QT_VERSION_STR)
103103
log.info("pyqt5 version: %s" % PYQT_VERSION_STR)
104104
except Exception:
105-
log.warning("Failed to read version info from dependencies and platform")
105+
log.warning("Error displaying dependency/system details", exc_info=1)
106106

107107
# Setup application
108108
self.setApplicationName('openshot')

src/classes/importers/edl.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def create_clip(context, track):
9696
# Save file
9797
file.save()
9898
except:
99-
log.warning('Failed to create File object for %s' % clip_path)
99+
log.warning('Error building File object for %s' % clip_path, exc_info=1)
100100

101101
if (file.data["media_type"] == "video" or file.data["media_type"] == "image"):
102102
# Determine thumb path

src/classes/importers/final_cut_pro.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def import_xml():
142142
# Save file
143143
file.save()
144144
except Exception:
145-
log.warning('Failed to create File object for %s' % clip_path)
145+
log.warning('Error building File object for %s' % clip_path, exc_info=1)
146146

147147
if (file.data["media_type"] == "video" or file.data["media_type"] == "image"):
148148
# Determine thumb path

0 commit comments

Comments
 (0)