diff --git a/nvchecker_source/httpheader.py b/nvchecker_source/httpheader.py index c7e2368..207112b 100644 --- a/nvchecker_source/httpheader.py +++ b/nvchecker_source/httpheader.py @@ -29,7 +29,11 @@ async def get_version_impl(info): header_value = res.headers.get(header) if not header_value: - raise GetVersionError('header %s not found or is empty' % header) + raise GetVersionError( + 'header not found or is empty', + header = header, + value = header_value, + ) try: version = regex.findall(header_value)