Removing debug statement at ERROR log level.