Revise exception raising
Merge pull request #108 from termoshtt/revise_addcomment

Revise exception raising in addcomment pipe