Modify Dapparse to provide more error information