Uncomment application error catching method