Skip to content

Commit

Permalink
Add extra row for failed executions to debugData
Browse files Browse the repository at this point in the history
This way the debug viewer accurately stops at end of execution logs for failures too
  • Loading branch information
victorjzsun authored Jul 24, 2021
1 parent 0e94b4b commit 66e0758
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sheetScript.gs
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ function updatePlaylists(sheet) {

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

0 comments on commit 66e0758

Please sign in to comment.