Browse Source

add some debug

master
Anton Smirnov 5 years ago
parent
commit
8fe017aca9
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/mailer.rb

+ 2
- 0
app/mailer.rb View File

@@ -20,6 +20,8 @@ module JournaldWatcher
msg.body = entry.message
msg.add_file filename: 'data.json', content: entry.to_h.to_json

puts "Delivering #{subject}"

msg.deliver
end
end


Loading…
Cancel
Save