Fixed the issue of ...

Fixed the issue of not recording errors.
Fixed bug of...