Skip to content

Commit

Permalink
Update index.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sumansaurabh committed May 23, 2024
1 parent c4eee77 commit 8ab260a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ async def main():
missing_keys = ', '.join(missing_vars)
await notify_error(f"Missing required environment variables: {missing_keys}\n")
print("####################### Invalid credentials issue #############################")
print("Snorkell.ai auto-heals itself when keys are not present.")
print("Penify auto-heals itself when keys are not present.")
print("You just need to rerun the action")
print("If it still doesn't fix the issue, please follow the below steps:")
print("1. Copy the API key from the Snorkell dashboard - https://dashboard.snorkell.ai/snorkell-api-keys")
print("1. Copy the API key from the Snorkell dashboard - https://dashboard.penify.dev/snorkell-api-keys")
print("2. Then go to your repository Settings -> Secrets & Variables -> Actions -> New repository secret")
print("3. Create a new secret with the name SNORKELL_API_KEY")
print("4. Paste the API key in the value field")
Expand All @@ -105,13 +105,13 @@ async def main():
print("9. You will get the installation id in the URL.")
print("10. Paste the installation id in the value field")
print("11. Rerun the action")
print("If the issue still persists, please reach out to us at founders@snorkell.ai")
print("If the issue still persists, please reach out to us at founders@penify.dev")
print("We will immediately help you out.")
print("################################################################################")
raise ValueError(
f"Missing required environment variables: {', '.join(missing_vars)}.\
\nPlease check the action's documentation['https://docs.snorkell.ai/'] for more information.\
\nIf you are still facing issues, please reach out to us at - founders@snorkell.ai\
\nPlease check the action's documentation['https://docs.penify.dev/'] for more information.\
\nIf you are still facing issues, please reach out to us at - support@penify.dev\
\n We will immediately help you out."
)

Expand Down Expand Up @@ -151,15 +151,15 @@ async def main():
traceback.print_exc()
if "Could not validate credentials" in traceback.format_exc():
print("####################### Invalid credentials issue #############################")
print("Snorkell.ai auto-heals itself when the credentials are invalid.")
print("Penify auto-heals itself when the credentials are invalid.")
print("You just need to rerun the action")
print("If it still doesn't fix the issue, please follow the below steps:")
print("1. Copy the API key from the Snorkell dashboard - https://dashboard.snorkell.ai/snorkell-api-keys")
print("1. Copy the API key from the Snorkell dashboard - https://dashboard.penify.dev/snorkell-api-keys")
print("2. Then go to your repository Settings -> Secrets & Variables -> Actions -> New repository secret")
print("3. Create a new secret with the name SNORKELL_API_KEY")
print("4. Paste the API key in the value field")
print("5. Rerun the action")
print("If the issue still persists, please reach out to us at founders@snorkell.ai")
print("If the issue still persists, please reach out to us at founders@penify.dev")
print("We will immediately help you out.")
print("################################################################################")

Expand Down

0 comments on commit 8ab260a

Please sign in to comment.