Skip to content

fix(enable_assoc): fix deprecation warnings and improve logging#25

Open
CoderFX wants to merge 1 commit intoSniffleupagus:mainfrom
CoderFX:fix/enable-assoc-cleanup
Open

fix(enable_assoc): fix deprecation warnings and improve logging#25
CoderFX wants to merge 1 commit intoSniffleupagus:mainfrom
CoderFX:fix/enable-assoc-cleanup

Conversation

@CoderFX
Copy link
Copy Markdown

@CoderFX CoderFX commented Mar 12, 2026

Summary

  • Replace bare except Exception with except ImportError for Touch_UI import
  • Replace deprecated logging.warn() with logging.warning()
  • Fix double space typo in __description__
  • Add consistent [Enable_Assoc] prefix to all log messages
  • Remove trailing semicolons
  • Use logging.warning for errors instead of logging.info
  • Simplify on_ui_update to use str()
  • Remove redundant pass statement

Fixes #23

No feature changes — just bug fixes and logging improvements. All existing functionality (webhook toggle, touch support, web UI) preserved.

- Replace bare `except Exception` with `except ImportError` for Touch_UI import
- Replace deprecated `logging.warn()` with `logging.warning()`
- Fix double space typo in __description__
- Add consistent [Enable_Assoc] prefix to all log messages
- Remove trailing semicolons
- Use logging.warning for errors instead of logging.info
- Simplify on_ui_update to use str()
- Remove redundant pass statement
- Bump version to 1.0.1
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.

enable_assoc: deprecated logging.warn() and broad except clause

1 participant