mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-03 02:28:39 +00:00
Add more logging to MatchController
This commit is contained in:
parent
efbd550589
commit
6404e1b7a2
1 changed files with 8 additions and 1 deletions
|
@ -60,7 +60,14 @@ namespace LBPUnion.ProjectLighthouse.Controllers
|
||||||
return this.BadRequest();
|
return this.BadRequest();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (matchData == null) return this.BadRequest();
|
if (matchData == null)
|
||||||
|
{
|
||||||
|
Logger.Log("Could not parse match data: matchData is null", LoggerLevelMatch.Instance);
|
||||||
|
Logger.Log("Data: " + bodyString, LoggerLevelMatch.Instance);
|
||||||
|
return this.BadRequest();
|
||||||
|
}
|
||||||
|
|
||||||
|
Logger.Log($"Parsed match from {user.Username} (type: {matchData.GetType()})", LoggerLevelMatch.Instance);
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue