Skip to content

Commit 66e0758

Browse files
authored
Add extra row for failed executions to debugData
This way the debug viewer accurately stops at end of execution logs for failures too
1 parent 0e94b4b commit 66e0758

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sheetScript.gs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ function updatePlaylists(sheet) {
176176

177177
if (totalErrorCount == 0) {
178178
debugSheet.getRange(nextDebugRow, nextDebugCol+1).setValue("Updated all rows, script successfully finished")
179+
} else {
180+
debugSheet.getRange(nextDebugRow, nextDebugCol+1).setValue("Script did not successfully finish")
179181
}
180182
// Clear next debug column if filled reservedDebugWrapRow rows
181183
if (nextDebugRow >= reservedDebugWrapRow) {

0 commit comments

Comments
 (0)