Correct log message
Signed-off-by: Andrew Shirley <andrew.shirley@argos.co.uk>
This commit is contained in:
@@ -72,17 +72,17 @@ export class ProcessorOutputCollector {
|
||||
|
||||
if (i.type === 'entity') {
|
||||
let entity: Entity;
|
||||
const location = stringifyLocationRef(i.location);
|
||||
|
||||
try {
|
||||
entity = validateEntityEnvelope(i.entity);
|
||||
} catch (e) {
|
||||
assertError(e);
|
||||
this.logger.debug(`Envelope validation failed at ${i.location}, ${e}`);
|
||||
this.logger.debug(`Envelope validation failed at ${location}, ${e}`);
|
||||
this.errors.push(e);
|
||||
return;
|
||||
}
|
||||
|
||||
const location = stringifyLocationRef(i.location);
|
||||
|
||||
// Note that at this point, we have only validated the envelope part of
|
||||
// the entity data. Annotations are not part of that, so we have to be
|
||||
// defensive. If the annotations were malformed (e.g. were not a valid
|
||||
|
||||
Reference in New Issue
Block a user