Fix logging to display full variable type on parse failure
Updated the log message to use the full variable type name instead of the base type. This provides more detailed context for debugging failed variable parsing issues.
This commit is contained in:
parent
9aed23278e
commit
2cd90ad011
|
|
@ -47,7 +47,7 @@ public class VariablePersistenceManager(IStorageDriverManager storageDriverManag
|
|||
|
||||
if (!variable.TryParseValue(value, out var parsedValue))
|
||||
{
|
||||
logger.LogWarning("Failed to parse value for variable {VariableId} of type {VariableType} with value {Value}", variable.Id, variable.GetType().Name, value);
|
||||
logger.LogWarning("Failed to parse value for variable {VariableId} of type {VariableType} with value {Value}", variable.Id, variable.GetVariableType().FullName, value);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue