Include app name in deprecation warnings (#1750)

This commit is contained in:
altrisi authored and GitHub committed 2023-06-26 17:59:57 +02:00
1 parent 22f31a7b51
commit cce52f3ed1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -551,7 +551,7 @@ public abstract class ScriptHost
return false;
}
deprecations.add(feature);
DEPRECATION_LOG.warn("'" + feature + "' is deprecated and soon will be removed. Please consult the docs for their replacement");
DEPRECATION_LOG.warn("App '" + getName() + "' uses '" + feature + "', which is deprecated for removal. Check the docs for a replacement");
return true;
}