From 52ec96109df2ae8f870a8722208c26873517f637 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Mon, 19 Aug 2019 18:43:12 +0100 Subject: Add github url to exception --- arxiv2remarkable.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arxiv2remarkable.py b/arxiv2remarkable.py index 96ba71c..c1300e7 100755 --- a/arxiv2remarkable.py +++ b/arxiv2remarkable.py @@ -750,6 +750,11 @@ class Cropper(object): def exception(msg): print("ERROR: " + msg, file=sys.stderr) print("Error occurred. Exiting.", file=sys.stderr) + print("", file=sys.stderr) + print( + "If you think this might be a bug, please raise an issue on GitHub: %s" + % GITHUB_URL + ) raise SystemExit(1) -- cgit v1.2.3