anchor.diff:                }
   
                 final logContentString = error is BadRequestException
  -                  ? createLogEntry(
  +                  ? createErrorLogEntry(
                         'Bad request. ${error.message}',
                         error.innerStack ?? stackTrace,
                         LogSeverity.warning,
  
positive.code:             'projects/$projectid/traces/${traceHeader.split('/')[0]}';
  
          String createLogEntry(
            Object error,
            StackTrace stackTrace,
            LogSeverity logSeverity, {
  
negative.code:               completer.complete(response);
              },
              print: (self, parent, zone, line) {
                final logContent = createLogEntry(line, LogSeverity.info);
  
                // Serialize to a JSON string and output to parent zone.
                parent.print(self, logContent);
              },
            ),
          )
  