more steamid handling

This commit is contained in:
Robin Appelman 2020-06-18 15:34:47 +02:00
commit 35f62c15bd

View file

@ -66,6 +66,9 @@ async fn get_log(pool: &PgPool, id: i32) -> Result<Option<NormalizedLog>, MainEr
if formatted_err.starts_with("Invalid SteamID") { if formatted_err.starts_with("Invalid SteamID") {
return Ok(None); return Ok(None);
} }
if formatted_err.starts_with("Malformed SteamID") {
return Ok(None);
}
if formatted_err.starts_with("invalid value: integer ") { if formatted_err.starts_with("invalid value: integer ") {
return Ok(None); return Ok(None);
} }