Skip to content

Commit

Permalink
Small bug fix on pidgtm/smithe common
Browse files Browse the repository at this point in the history
Signed-off-by: danbugs <[email protected]>
  • Loading branch information
danbugs committed Feb 19, 2024
1 parent 958a555 commit d6adc8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ where

let mut maybe_sgv = (*gql_vars.clone().lock().unwrap()).clone();
if maybe_delete_player_records(maybe_sgv.clone())? {
if e.to_string().contains("EOF while parsing a string") {
if e.to_string().contains("EOF while parsing") {

Check warning on line 134 in lib/src/common.rs

View check run for this annotation

Codecov / codecov/patch

lib/src/common.rs#L134

Added line #L134 was not covered by tests
tracing::error!(
"🏁 got 'EOF while parsing a string' at page {}!",
"🏁 got 'EOF while parsing' at page {}!",

Check warning on line 136 in lib/src/common.rs

View check run for this annotation

Codecov / codecov/patch

lib/src/common.rs#L136

Added line #L136 was not covered by tests
curr_page
);
curr_page = 1;
Expand Down

0 comments on commit d6adc8d

Please sign in to comment.