Look at the try block in tiddlyweb.manage:handle, it expects you to raise an exception here.