Add printf for info1 and info2 in errorHandler