allow Exception in code block (#3307)
This commit is contained in:
@@ -1408,6 +1408,7 @@ class CodeBlock(Block):
|
|||||||
"bool": bool,
|
"bool": bool,
|
||||||
"asyncio": asyncio,
|
"asyncio": asyncio,
|
||||||
"re": re,
|
"re": re,
|
||||||
|
"Exception": Exception,
|
||||||
}
|
}
|
||||||
|
|
||||||
def generate_async_user_function(
|
def generate_async_user_function(
|
||||||
|
|||||||
Reference in New Issue
Block a user