More robust error handling and logging

Catch and log InputError()
Catch and log ValueError() and report back to the API user

Change-Id: I1d7414baa4a84106439c37ad36be3578356a3371
1 file changed