Skip to content

Conversation

colossatr0n
Copy link

@colossatr0n colossatr0n commented Jan 29, 2023

I was only able to figure out the cause for the exception detailed in #260 after adding the logging statements found in the PR. It would make sense to add these logging statements into the official repository so that others can quickly diagnose backend notifier ImportError exceptions in the future.

In the case of the linked issue above, the stack trace will now contain:

ERROR: Could not import notifier from ntfy.backends.telegram. Reason: cannot import name 'MAX_MESSAGE_LENGTH' from 'telegram.constants' (/usr/local/lib/python3.10/site-packages/telegram/constants.py)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant