mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2024-12-29 18:55:06 +08:00
fix: error report not displayed upon failure (#532)
This commit is contained in:
parent
e81ce64881
commit
b48555e2e0
@ -25,6 +25,13 @@ namespace nadena.dev.modular_avatar.core.editor
|
||||
{
|
||||
toDispose?.Dispose();
|
||||
toDispose = null;
|
||||
|
||||
if (BuildReport.CurrentReport?.CurrentAvatar?.successful == false)
|
||||
{
|
||||
// This is a bit of a temporary hack until we have a better way to report errors via NDMF
|
||||
ErrorReportUI.OpenErrorReportUI();
|
||||
throw new Exception("Errors occurred during modular avatar processing");
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user