mirror of
https://github.com/JonasunderscoreJones/turbo-octo-potato.git
synced 2025-10-28 11:39:18 +01:00
Fixed error messages
This commit is contained in:
parent
52d515d8b1
commit
d901a3fd7f
1 changed files with 3 additions and 3 deletions
|
|
@ -39,7 +39,7 @@ def get_default_branch(repo, access_token):
|
||||||
verboseprint(f"[{repo}] Fetched default branch", end="\r")
|
verboseprint(f"[{repo}] Fetched default branch", end="\r")
|
||||||
return default_branch
|
return default_branch
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
verboseprint(f"Error fetching default branch for {repo}: {str(e)}")
|
verboseprint(f"[{repo}] Error fetching default branch ", end="\r")
|
||||||
return None
|
return None
|
||||||
|
|
||||||
# Function to get the timestamp of the last commit date for a GitHub repository
|
# Function to get the timestamp of the last commit date for a GitHub repository
|
||||||
|
|
@ -81,7 +81,7 @@ def get_last_release_version(repo, access_token):
|
||||||
verboseprint(f"[{repo}] Fetched last project release version", end="\r")
|
verboseprint(f"[{repo}] Fetched last project release version", end="\r")
|
||||||
return last_release_version
|
return last_release_version
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"Error fetching last release version for {repo}: {str(e)}")
|
print(f"[{repo}] Error fetching last release version", end="\r")
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def get_languagages(repo, access_token):
|
def get_languagages(repo, access_token):
|
||||||
|
|
@ -98,7 +98,7 @@ def get_languagages(repo, access_token):
|
||||||
verboseprint(f"[{repo}] Done! ")
|
verboseprint(f"[{repo}] Done! ")
|
||||||
return languages_data
|
return languages_data
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"Error fetching languages for {repo}: {str(e)}")
|
print(f"[{repo}] Error fetching languages ", end="\n")
|
||||||
return None
|
return None
|
||||||
|
|
||||||
# Path to the projects.json file
|
# Path to the projects.json file
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue