cleanup(`ApNoteService.ts`)
This commit is contained in:
parent
d8f0d76973
commit
bfc22e9518
|
@ -111,12 +111,10 @@ export class ApNoteService {
|
||||||
const entryUri = getApId(value);
|
const entryUri = getApId(value);
|
||||||
const err = this.validateNote(object, entryUri);
|
const err = this.validateNote(object, entryUri);
|
||||||
if (err) {
|
if (err) {
|
||||||
this.logger.error(`${err.message}`, {
|
this.logger.error(err.message, {
|
||||||
resolver: {
|
resolver: { history: resolver.getHistory() },
|
||||||
history: resolver.getHistory(),
|
value,
|
||||||
},
|
object,
|
||||||
value: value,
|
|
||||||
object: object,
|
|
||||||
});
|
});
|
||||||
throw new Error('invalid note');
|
throw new Error('invalid note');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue