Skip to content

Commit 13af3a2

Browse files
committed
Add debug log after updating packages job finished
1 parent 9a439f3 commit 13af3a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/Scripts/Editor/UnityPackageScripts.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,8 @@ private static void EndUpdate(int returnValue)
228228
#if UNITY_2020_1_OR_NEWER
229229
Progress.Finish(ProgressId, returnValue == 0 ? Progress.Status.Succeeded : Progress.Status.Failed);
230230
#endif
231+
Debug.Log($"Updating unity packages finished with exit code {returnValue}");
232+
231233
if (Application.isBatchMode)
232234
{
233235
EditorApplication.Exit(returnValue);
@@ -238,8 +240,6 @@ private static void EndUpdate(int returnValue)
238240
{
239241
throw new Exception($"BuildScript ended with non-zero exitCode: {returnValue}");
240242
}
241-
242-
Debug.Log($"Successfully updated packages");
243243
}
244244
}
245245
}

0 commit comments

Comments
 (0)