Skip to content

Commit

Permalink
fix(xml-transpiler): Log unknown namespaces as verbose instead of war…
Browse files Browse the repository at this point in the history
…ning

Ignoring them seems safe, so no warning should be produced. There's
typically also nothing a developer can do to resolve the warning.
  • Loading branch information
RandomByte committed Mar 14, 2024
1 parent e8e2314 commit 67220a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/detectors/transpilers/xml/Parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ export default class Parser {
// in the control aggregation
this.#generator.writeControl(customData);
} else {
log.warn(`Ignoring unknown namespaced attribute ${attr.localNamespace}:${attr.name} ` +
log.verbose(`Ignoring unknown namespaced attribute ${attr.localNamespace}:${attr.name} ` +
`for ${moduleName} in resource ${this.#resourceName}`);
}
} else {
Expand Down

0 comments on commit 67220a1

Please sign in to comment.