Skip to content

Commit d791d6f

Browse files
committed
add trace message for local config file updates
1 parent d1fc52a commit d791d6f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

modules/DependencyControl.moon

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ class DependencyControl
4949
}
5050
writeConfig: {
5151
error: "An error occured while writing the #{@@__name} config file: %s"
52+
writingLocal: "Writing updated %s data to config file..."
5253
}
5354
}
5455

@@ -231,6 +232,7 @@ class DependencyControl
231232
if writeGlobal
232233
success, errMsg = @@config\write false
233234
if writeLocal and (success or not writeGlobal)
235+
@@logger\trace msgs.writeConfig.writingLocal, @moduleName and "module" or "macro"
234236
@config\import @, depConf.scriptFields, false, true
235237
success, errMsg = @config\write false
236238

0 commit comments

Comments
 (0)