app/controllers/voltron/notification_controller.rb in voltron-notify-0.1.8 vs app/controllers/voltron/notification_controller.rb in voltron-notify-0.1.9

- old
+ new

@@ -7,14 +7,14 @@ sms = Voltron::Notification::SmsNotification.find_by(sid: params[:MessageSid]) update_params = { status: params[:MessageStatus], error_code: params[:ErrorCode] }.compact if sms.update(update_params) head :ok else - Voltron.log "(SID: #{params[:MessageSid]}) " + sms.errors.full_messages.join(""), "Notification Update", :light_yellow + Voltron.log "(SID: #{params[:MessageSid]}) " + sms.errors.full_messages.join(''), 'Notification Update', Voltron::Notify::LOG_COLOR head :unprocessable_entity end else - Voltron.log "SMS Notification with id #{params[:MessageSid]} not found.", "Notification Update", :light_yellow + Voltron.log "SMS Notification with id #{params[:MessageSid]} not found.", 'Notification Update', Voltron::Notify::LOG_COLOR head :not_found end end end