Add exception handling for rpc in case if task with uuid wasn't found in db

Change-Id: I6b2576097dad3010e725094fb5a37a47f770d1a6
Merge "Add exception handling for rpc in case if task with uuid wasn't found in db"