Fix Slack type error for file upload (#101720)

Fix regression
This commit is contained in:
Robert Hillis
2023-10-09 23:35:29 -04:00
committed by GitHub
parent db3a4dec33
commit e5d5440385

View File

@@ -166,7 +166,7 @@ class SlackNotificationService(BaseNotificationService):
filename=filename,
initial_comment=message,
title=title or filename,
thread_ts=thread_ts,
thread_ts=thread_ts or "",
)
except (SlackApiError, ClientError) as err:
_LOGGER.error("Error while uploading file-based message: %r", err)