not showing error log when exists error listener