added specific error message for invoking without context

fixes #30
This commit is contained in:
alterNERDtive 2022-01-12 16:07:34 +01:00
parent ef25bcd7bf
commit 80c23b3fb5

View file

@ -156,7 +156,14 @@ namespace bindEDplugin
}
else
{
LogError($"Invalid plugin context {context}.");
if (String.IsNullOrWhiteSpace(context))
{
LogError("Empty plugin context.");
}
else
{
LogError($"Invalid plugin context '{context}'.");
}
}
}
catch (Exception e)