LangChain - Chains and LCEL
What will be the output of the following code if
chain.run() raises a KeyError?
try:
chain.run()
except ValueError:
print('Caught a ValueError')
except Exception:
print('Caught a general exception')