Added logging

This commit is contained in:
2026-02-06 18:55:49 -05:00
parent d80007bc84
commit 2c3548d1ac

View File

@@ -112,6 +112,7 @@ module RedmineQbo
# Titleize the subject before save , but keep words containing numbers mixed with letters capitalized # Titleize the subject before save , but keep words containing numbers mixed with letters capitalized
def titlize_subject def titlize_subject
logger.debug "QBO: Titlizing subject for issue ##{self.id}"
self.subject = self.subject.split(/\s+/).map do |word| self.subject = self.subject.split(/\s+/).map do |word|
# If word is NOT purely alphanumeric (contains special chars), # If word is NOT purely alphanumeric (contains special chars),
# or is all upper/lower, we can handle it. # or is all upper/lower, we can handle it.