Skip to content
This repository has been archived by the owner on Dec 14, 2017. It is now read-only.

Commit

Permalink
Instead of using the log, raise a PluginError
Browse files Browse the repository at this point in the history
  • Loading branch information
nikdoof committed Nov 18, 2009
1 parent 5296e35 commit 529843a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion output_twitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ def feed_exit(self, feed):
try:
import twitter
except ImportError:
log.error('Unable to import module twitter, is python-twitter installed?')
raise PluginError('Unable to import module twitter, python-twitter is required to use output_twitter')
else:
register_plugin(OutputTwitter, 'twitter')

0 comments on commit 529843a

Please sign in to comment.