Skip to content

Commit

Permalink
Added location on log
Browse files Browse the repository at this point in the history
  • Loading branch information
ackava committed Aug 23, 2024
1 parent 1657bfb commit 9e43735
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/XNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ export default class XNode {
const { then, failed, throwOnFail = true} = a;
let result;
if (this.log) {
console.log(`Executing ${this.name.name}`);
console.log(this.attributes);
console.log(`Executing ${this.name.name} at ${this.attributes?.location}`);
}
try {
result = await this.___invoke(a);
Expand Down

0 comments on commit 9e43735

Please sign in to comment.