fixed the exception handling
Merge branch 'master' of https://github.com/JaamConsulting/Jaam.RPC