When exception is caught, show message only instead of stack trace

Signed-off-by: Harsh Panchal <panchal.harsh18@gmail.com>