replace a raise for ill formated request by a log entry, and return an error