prepared catch block to be ready for debugging