Skip to content

Commit

Permalink
log fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cawke committed Oct 16, 2023
1 parent 6291c82 commit 7c3e3a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/MirageXR/Player/Scripts/Moodle/MoodleManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ public async Task UpdateViewsOfActivity(string itemID)
if (!result || response.StartsWith("Error"))
{
var maxLenght = 200;
Debug.LogError("[MoodleManager] error while increasing the hit counter of the activity:" + response.Length > maxLenght ? response.Substring(0, maxLenght) : response);
Debug.LogError("[MoodleManager] error while increasing the hit counter of the activity: " + (response.Length > maxLenght ? response.Substring(0, maxLenght) : response));
}
else
{
Expand Down

0 comments on commit 7c3e3a7

Please sign in to comment.