mirror of
https://github.com/drewcassidy/KSP-Conformal-Decals.git
synced 2024-09-01 18:23:54 +00:00
Print parsing errors as exceptions
This commit is contained in:
parent
995c9120e5
commit
0b34991f34
@ -98,7 +98,7 @@ namespace ConformalDecals.MaterialModifiers {
|
|||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
// Catch exception from parsing current material property
|
// Catch exception from parsing current material property
|
||||||
// And print it to the log as an Error
|
// And print it to the log as an Error
|
||||||
module.LogError(e.Message);
|
module.LogException("Exception while parsing material node", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user