add recipe name to constrained settings error
@@ -68,7 +68,8 @@ def create_settings(conanfile, settings):
settings.constraint(current)
return settings
except Exception as e:
- raise ConanInvalidConfiguration("The recipe is constraining settings. %s" % str(e))
+ raise ConanInvalidConfiguration("The recipe %s is constraining settings. %s" % (
+ conanfile.display_name, str(e)))
@contextmanager
