Try exception handling as debug statement