move callback out of try/catch block.

try/catch block is only for reporting parse errors, not reporting errors occurring within the callback itself