https://bugzilla.wikimedia.org/show_bug.cgi?id=66012
Bug ID: 66012 Summary: Error messages aren't printed Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: info@gno.de Web browser: --- Mobile Platform: ---
The argumet givent to pywikibot.exceptions exceptions aren't printed. Sample:
import pwb import pywikibot from pywikibot.exceptions import * raise Error('foo')
Traceback (most recent call last): File "<pyshell#3>", line 1, in <module> raise Error('foo') Error
raise Error('foo %s' %'bar')
Traceback (most recent call last): File "<pyshell#4>", line 1, in <module> raise Error('foo %s' %'bar') Error
raise NoPage('Pagename')
Traceback (most recent call last): File "<pyshell#5>", line 1, in <module> raise NoPage('Pagename') NoPage