Fixed debug.log as debug.error