Skip to content

Commit f7bd7d5

Browse files
committed
updated error message
1 parent d86f6d1 commit f7bd7d5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
entry_points={
2626
"console_scripts": ["submit50=submit50.__main__:main"]
2727
},
28-
version="3.1.0",
28+
version="3.1.1",
2929
include_package_data=True
3030
)

submit50/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def check_version():
6262
res = requests.get(f"{SUBMIT_URL}/versions/submit50")
6363
if res.status_code != 200:
6464
raise Error(_("You have an unknown version of submit50. "
65-
"Email sysadmins@cs50.harvard.edu!"))
65+
"Please visit our status page https://cs50.statuspage.io for more information."))
6666

6767
# Check that latest version == version installed
6868
required_version = pkg_resources.parse_version(res.text.strip())
@@ -159,7 +159,7 @@ def excepthook(type, value, tb):
159159
for line in str(value).split("\n"):
160160
cprint(str(line), "yellow")
161161
elif not isinstance(value, KeyboardInterrupt):
162-
cprint(_("Sorry, something's wrong! Let sysadmins@cs50.harvard.edu know!"), "yellow")
162+
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")
163163

164164
if excepthook.verbose:
165165
traceback.print_exception(type, value, tb)

0 commit comments

Comments
 (0)