fixed phpdoc
log exception