Add logging to canonical unit
This commit is contained in:
parent
41b25a5670
commit
59975830e7
@ -131,6 +131,8 @@ export class Canonical<T> extends LifecycleUnit {
|
||||
.split('').reverse().join('')
|
||||
.substr(this.suffix.length)
|
||||
.split('').reverse().join('')
|
||||
|
||||
this.make(Logging).debug(`Importing from: ${file_path}`)
|
||||
const imported = await import(file_path)
|
||||
return { canonical_name, original_name, imported }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user