sms 주석 제거

This commit is contained in:
RubyOn 2025-05-08 10:58:12 +09:00
parent 0d388b8c42
commit 27bf89fa3e
2 changed files with 9 additions and 9 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@ -22,13 +22,13 @@ begin
end
end
rescue
# error_message = "[#{Time.now}] #{mode} 실행 실패 (station_id: #{controller_id}, value: #{value})"
# res = Sms.send_one(
# {
# to: '01062619801',
# from: '01062619801',
# text: error_message
# }
# )
# puts res
error_message = "[#{Time.now}] #{mode} 실행 실패 (station_id: #{controller_id}, value: #{value})"
res = Sms.send_one(
{
to: '01062619801',
from: '01062619801',
text: error_message
}
)
puts res
end