Commit 9a6c38e9 authored by Seblu's avatar Seblu

Move report URL into a global

parent c30dddc9
......@@ -40,6 +40,7 @@ from xdg.BaseDirectory import save_cache_path
NAME = "agetpkg"
VERSION = "3"
ARCHIVE_URL = "https://archive.archlinux.org/packages/.all/"
REPORT_URL = "https://github.com/seblu/agetpkg/issues"
INDEX_FILENAME = "index.0.xz"
PKG_EXT = ".pkg.tar.xz"
SIG_EXT = ".sig"
......@@ -394,8 +395,7 @@ def main():
error(exp)
exit(Error.ERR_FATAL)
except Exception as exp:
error("Unknown error. Please report it with --debug")
error("at https://github.com/seblu/agetpkg/issues.")
error(f"Unknown error. Please report it with --debug at {REPORT_URL}.")
error(exp)
if getLogger().getEffectiveLevel() == DEBUG:
raise
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment