Skip to content

Commit 5b8e498

Browse files
committed
321 Fix messages of Filter::Sanitize
1 parent 4d8bf14 commit 5b8e498

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/filter/sanitize.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Name:: Automatic::Plugin::Filter::Sanitize
33
# Author:: 774 <http://id774.net>
44
# Created:: Jun 20, 2013
5-
# Updated:: Jun 23, 2013
5+
# Updated:: Jun 24, 2013
66
# Copyright:: 774 Copyright (c) 2013
77
# License:: Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0.
88

@@ -28,6 +28,7 @@ def sanitize(feed)
2828
feed.description = Sanitize.clean(feed.description, @mode) unless feed.description.nil?
2929
return feed
3030
rescue
31+
Automatic::Log.puts("warn", "Undefined field detected in feed.")
3132
return feed
3233
end
3334
end

0 commit comments

Comments
 (0)