restapi: fixed logging error.

removed exception cover-up and logging to std.

Change-Id: I2d23a647c1ceef2d4d248694415d2578c76047e5
Bug-Url: https://bugzilla.redhat.com/1104184
Signed-off-by: Martin Mucha <mmucha@redhat.com>