Print parsing errors as exceptions

This commit is contained in:
Andrew Cassidy 2020-05-30 00:16:40 -07:00
parent 995c9120e5
commit 0b34991f34

View File

@ -98,7 +98,7 @@ namespace ConformalDecals.MaterialModifiers {
catch (Exception e) {
// Catch exception from parsing current material property
// And print it to the log as an Error
module.LogError(e.Message);
module.LogException("Exception while parsing material node", e);
}
}
}