mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
handle if parsing userid fails
This commit is contained in:
parent
cf11cd87ce
commit
8667167c1b
@ -222,7 +222,12 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
UInt64.TryParse(match.Groups[1].Value, out ulong result);
|
if (!UInt64.TryParse(match.Groups[1].Value, out ulong result))
|
||||||
|
{
|
||||||
|
App.Logger.WriteLine(LOG_IDENT, "Failed to parse userid from game join load time entry");
|
||||||
|
App.Logger.WriteLine(LOG_IDENT, match.Groups[1].Value);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Data.UserId = result;
|
Data.UserId = result;
|
||||||
App.Logger.WriteLine(LOG_IDENT, $"Got userid as {Data.UserId}");
|
App.Logger.WriteLine(LOG_IDENT, $"Got userid as {Data.UserId}");
|
||||||
|
Loading…
Reference in New Issue
Block a user