mirror of
https://github.com/cs01/termpair.git
synced 2026-04-27 05:25:53 +03:00
[PR #57] [MERGED] print better error message if TermPair server is not running #66
Labels
No labels
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/termpair#66
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cs01/termpair/pull/57
Author: @cs01
Created: 7/11/2021
Status: ✅ Merged
Merged: 7/11/2021
Merged by: @cs01
Base:
master← Head:cs01/improve-error-message📝 Commits (1)
22c038fprint better error message if TermPair server is not running📊 Changes
4 files changed (+50 additions, -33 deletions)
View changed files
📝
.github/PULL_REQUEST_TEMPLATE.md(+1 -1)📝
CHANGELOG.md(+1 -0)📝
termpair/main.py(+31 -8)📝
termpair/share.py(+17 -24)📄 Description
docs/changelog.mdSummary of changes
Make error message more clear when server isn't running.
Before
After
I also added a message to report bugs if a different error is thrown with a little prefix to the stacktrace:
Test plan
Tested by running
fixes #37
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.