usememos / telegram-integration

Memogram is an easy to use integration service for syncing messages and images from a Telegram bot into your Memos.
59 stars 15 forks source link

Panic: runtime error: invalid memory address or nil pointer dereference in Memogram #57

Open matthewfu opened 2 weeks ago

matthewfu commented 2 weeks ago

Problem Description I encountered a panic error when using telegram-integration: Memogram: panic: runtime error: invalid memory address or nil pointer dereference. After this error occurs, the Memogram program exits immediately.

Steps to Reproduce

  1. Configure Memogram according to the installation steps in the documentation.
  2. Run Memogram and integrate it with Telegram.
  3. Under certain conditions (e.g., sending specific messages or calling certain APIs), Memogram encounters a panic.

Expected Behavior Memogram should handle these cases properly without crashing.

Actual Behavior The program crashes and exits with the following error log:

image

Thank you for taking the time to look into this issue. Your assistance is greatly appreciated!