Fix error log param