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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)