Skip to content

Commit 95806f9

Browse files
committed
More debugging
1 parent 224de14 commit 95806f9

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

src/windows/models/blender_model.py

+1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ def update_model(self, clear=True):
104104

105105
except:
106106
# Handle exception
107+
log.info('Invalid blender image file: %s' % icon_path)
107108
msg = QMessageBox()
108109
msg.setText(_("{} is not a valid image file.".format(icon_path)))
109110
msg.exec_()

src/windows/models/effects_model.py

+1
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ def update_model(self, clear=True):
133133

134134
except:
135135
# Handle exception
136+
log.info('Invalid effect image file: %s' % icon_path)
136137
msg = QMessageBox()
137138
msg.setText(_("{} is not a valid image file.".format(icon_path)))
138139
msg.exec_()

src/windows/models/titles_model.py

+1
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ def update_model(self, clear=True):
142142

143143
except:
144144
# Handle exception
145+
log.info('Invalid title image file: %s' % filename)
145146
msg = QMessageBox()
146147
msg.setText(_("{} is not a valid image file.".format(filename)))
147148
msg.exec_()

src/windows/models/transition_model.py

+1
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ def update_model(self, clear=True):
151151

152152
except:
153153
# Handle exception
154+
log.info('Invalid transition image file: %s' % filename)
154155
msg = QMessageBox()
155156
msg.setText(_("{} is not a valid image file.".format(filename)))
156157
msg.exec_()

0 commit comments

Comments
 (0)