We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b597d01 commit 929b7eaCopy full SHA for 929b7ea
1 file changed
rivescript/rivescript.py
@@ -1964,7 +1964,7 @@ def _expand_array(self, array_name):
1964
try:
1965
ret = self._do_expand_array(array_name)
1966
except Exception as e:
1967
- self._warn("Error expanding array '%s': %s" % (array_name, e.message))
+ self._warn("Error expanding array '%s': %s" % (array_name, str(e)))
1968
# return self._arrays[array_name]
1969
return ret
1970
0 commit comments