Logging more errors