Fix Slack type error for file upload (#101720)

Fix regression
pull/101744/head
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
1 changed files with 1 additions and 1 deletions

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)