Skip to content

Commit

Permalink
Improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
wederbn committed Dec 20, 2023
1 parent 33c4e03 commit 92d2f91
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export function taskMatchesDetector(detectorElement, task) {
}

// check for attributes of the different task types
console.log("Matching for type: ", task.$type);
switch (task.$type) {
case consts.QUANTUM_COMPUTATION_TASK:
return matchQuantumComputationTask(detectorElement, task);
Expand Down Expand Up @@ -435,5 +436,7 @@ export async function matchesQRM(qrm, task) {
}

// check if QuantME task of the QRM matches the given task
return taskMatchesDetector(detectorElement, task);
let matches = taskMatchesDetector(detectorElement, task);
console.log("Matching between QRM %s and task with id %s: %s", qrm.qrmUrl, task.id, matches);
return matches;
}

0 comments on commit 92d2f91

Please sign in to comment.