views: return more expressive error from lookupId

Catch the exception and append the exception string to the reported
error.

Signed-off-by: Ashok Gautam <ScriptDevil@gmail.com>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>