Skip to content

Commit

Permalink
api: add another internet error to log_diagnose
Browse files Browse the repository at this point in the history
  • Loading branch information
theofficialgman committed Aug 19, 2024
1 parent d81de6d commit 8649dd9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions api
Original file line number Diff line number Diff line change
Expand Up @@ -2568,6 +2568,13 @@ Check your internet connection and try again.")
if grep -qF "fetch-pack: unexpected disconnect while reading sideband packet" <<<"$errors" ;then
error_caption+=("The git command encountered this error: "\""fetch-pack: unexpected disconnect while reading sideband packet"\"" Check the stability of your Internet connection and try again.
If this keeps happening, see: https://stackoverflow.com/questions/66366582")
error_type="internet"
fi

if grep -qF "fatal: did not receive expected object" <<<"$errors" ;then
error_caption+=("The git command encountered this error: "\""fatal: did not receive expected object"\"" Check the stability of your Internet connection and try again.
If this keeps happening, see: https://stackoverflow.com/questions/66366582")
error_type="internet"
fi
Expand Down

0 comments on commit 8649dd9

Please sign in to comment.