Remove unncessary output.
This commit is contained in:
parent
7834d345bf
commit
308143e0c9
@ -102,14 +102,11 @@ class PupperBot
|
|||||||
LOGGER.info "Trying to save post #{post.title} #{post.url}"
|
LOGGER.info "Trying to save post #{post.title} #{post.url}"
|
||||||
begin
|
begin
|
||||||
@db.exec "insert into posts(title, url) values(?, ?)", post.title, post.url
|
@db.exec "insert into posts(title, url) values(?, ?)", post.title, post.url
|
||||||
rescue e
|
rescue
|
||||||
puts e
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
botc = PupperBot.new
|
botc = PupperBot.new
|
||||||
|
|
||||||
# Commands.
|
|
||||||
sleep
|
sleep
|
||||||
|
Loading…
Reference in New Issue
Block a user