diff --git a/lib/swimmy/command/photo_upload.rb b/lib/swimmy/command/photo_upload.rb index 50d92b9..151e1bc 100644 --- a/lib/swimmy/command/photo_upload.rb +++ b/lib/swimmy/command/photo_upload.rb @@ -39,7 +39,7 @@ class PhotoUploadBot < Base text: "アップロード完了 #{url}", thread_ts: data.thread_ts || data.ts) rescue - message = '写真のアップロードに失敗しました.' + message = "写真のアップロードに失敗しました (ファイル名: #{file.name})." client.say(channel: data.channel, text: message) end end