[bugs] Fixed three small bugs

+ Improper error message when some error occurs in worker process
+ Target ID should be optional argument in any transaction fetch method
+ In api, we use `mapping` keyword, so mappings is a typo and will not work