Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

improve handling of logging for disappeared sources #13

Closed
IzzySoft opened this issue Mar 30, 2023 · 0 comments
Closed

improve handling of logging for disappeared sources #13

IzzySoft opened this issue Mar 30, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@IzzySoft
Copy link

The Github repo for one of the modules I have configured was removed today.

{
  "id": "unlimited-hotspot",
  "update_to": "https://github.com/felikcat/unlimited-hotspot/raw/master/update.json",
  "license": "WTFPL",
  "changelog": "",
  "last_update": 1679527941.189307,
  "versions": 1
}

So on sync, cli.py spits out the entire content of the Github error page source:

[2023/03/30 19:53:06] Sync ERROR: unlimited-hotspot: update module failed: HTTPError(





<!DOCTYPE html>
<html lang="en" data-color-mode="auto" data-light-theme="light" data-dark-theme="dark" data-a11y-animated-images="system">
  <head>

(much more following that – like 20 screens or so). This might be fine when debug was turned on – but without that I'd rather expect something like

[2023/03/30 19:53:06] Sync ERROR: unlimited-hotspot: update module failed, got a 404 (not found) for <failed_url_here>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants