mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-09 22:06:19 +00:00
enable code block again (#1909)
This commit is contained in:
parent
8537a29b1c
commit
494e750e91
5 changed files with 133 additions and 39 deletions
|
@ -132,3 +132,10 @@ class InvalidTemplateWorkflowPermanentId(SkyvernHTTPException):
|
|||
message=f"Invalid template workflow permanent id: {workflow_permanent_id}. Please make sure the workflow is a valid template.",
|
||||
status_code=status.HTTP_400_BAD_REQUEST,
|
||||
)
|
||||
|
||||
|
||||
class InsecureCodeDetected(SkyvernException):
|
||||
def __init__(self, msg: str) -> None:
|
||||
super().__init__(
|
||||
f"Insecure code detected. Reason: {msg}",
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue