Print stack trace to stdout on internal error
This commit is contained in:
parent
e22351386f
commit
3197c844a5
@ -627,6 +627,8 @@ class PlaylistTab(QTableWidget):
|
|||||||
"MusicMuster unexpected failure",
|
"MusicMuster unexpected failure",
|
||||||
stackprinter.format()
|
stackprinter.format()
|
||||||
)
|
)
|
||||||
|
print("play_started:current_row is None")
|
||||||
|
stackprinter.show(add_summary=True, style="darkbg")
|
||||||
return
|
return
|
||||||
|
|
||||||
# Mark current row as played
|
# Mark current row as played
|
||||||
@ -670,6 +672,8 @@ class PlaylistTab(QTableWidget):
|
|||||||
"MusicMuster unexpected failure",
|
"MusicMuster unexpected failure",
|
||||||
stackprinter.format()
|
stackprinter.format()
|
||||||
)
|
)
|
||||||
|
print("populate_display:no playlist")
|
||||||
|
stackprinter.show(add_summary=True, style="darkbg")
|
||||||
return
|
return
|
||||||
|
|
||||||
for plr in playlist.rows:
|
for plr in playlist.rows:
|
||||||
@ -1879,6 +1883,8 @@ class PlaylistTab(QTableWidget):
|
|||||||
stackprinter.format()
|
stackprinter.format()
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
print("playists:_set_row_header_text() called on track row")
|
||||||
|
stackprinter.show(add_summary=True, style="darkbg")
|
||||||
|
|
||||||
# Set text
|
# Set text
|
||||||
_ = self._set_item_text(row_number, HEADER_NOTES_COLUMN, text)
|
_ = self._set_item_text(row_number, HEADER_NOTES_COLUMN, text)
|
||||||
@ -1913,6 +1919,8 @@ class PlaylistTab(QTableWidget):
|
|||||||
"playists:_set_row_note_colour() called on header row",
|
"playists:_set_row_note_colour() called on header row",
|
||||||
stackprinter.format()
|
stackprinter.format()
|
||||||
)
|
)
|
||||||
|
print("playists:_set_row_note_colour() called on header row")
|
||||||
|
stackprinter.show(add_summary=True, style="darkbg")
|
||||||
return
|
return
|
||||||
|
|
||||||
# Set colour
|
# Set colour
|
||||||
@ -1934,6 +1942,8 @@ class PlaylistTab(QTableWidget):
|
|||||||
"playists:_set_row_note_text() called on header row",
|
"playists:_set_row_note_text() called on header row",
|
||||||
stackprinter.format()
|
stackprinter.format()
|
||||||
)
|
)
|
||||||
|
print("playists:_set_row_note_text() called on header row")
|
||||||
|
stackprinter.show(add_summary=True, style="darkbg")
|
||||||
return
|
return
|
||||||
|
|
||||||
# Set text
|
# Set text
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user