log error from plugins refs #72

Log errors in hook as same as in filter.