Skip to content

Commit

Permalink
updated error message
Browse files Browse the repository at this point in the history
  • Loading branch information
rongxin-liu committed Apr 3, 2022
1 parent d86f6d1 commit f7bd7d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
entry_points={
"console_scripts": ["submit50=submit50.__main__:main"]
},
version="3.1.0",
version="3.1.1",
include_package_data=True
)
4 changes: 2 additions & 2 deletions submit50/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def check_version():
res = requests.get(f"{SUBMIT_URL}/versions/submit50")
if res.status_code != 200:
raise Error(_("You have an unknown version of submit50. "
"Email sysadmins@cs50.harvard.edu!"))
"Please visit our status page https://cs50.statuspage.io for more information."))

# Check that latest version == version installed
required_version = pkg_resources.parse_version(res.text.strip())
Expand Down Expand Up @@ -159,7 +159,7 @@ def excepthook(type, value, tb):
for line in str(value).split("\n"):
cprint(str(line), "yellow")
elif not isinstance(value, KeyboardInterrupt):
cprint(_("Sorry, something's wrong! Let sysadmins@cs50.harvard.edu know!"), "yellow")
cprint(_("Sorry, something's wrong, please try again. If the problem persists, please visit our status page https://cs50.statuspage.io for more information."), "yellow")

if excepthook.verbose:
traceback.print_exception(type, value, tb)
Expand Down

0 comments on commit f7bd7d5

Please sign in to comment.