mirror of https://github.com/eyhc1/rendercv.git
enhance user_communicator.py
This commit is contained in:
parent
2f300144ec
commit
8d0c5f4120
|
@ -96,6 +96,7 @@ def handle_validation_error(exception: pydantic.ValidationError):
|
||||||
message = message
|
message = message
|
||||||
else:
|
else:
|
||||||
message = custom_error[0]
|
message = custom_error[0]
|
||||||
|
if custom_error[1] != "":
|
||||||
location = f"{location}.{custom_error[1]}"
|
location = f"{location}.{custom_error[1]}"
|
||||||
input = custom_error[2]
|
input = custom_error[2]
|
||||||
|
|
||||||
|
@ -122,6 +123,7 @@ def handle_validation_error(exception: pydantic.ValidationError):
|
||||||
)
|
)
|
||||||
|
|
||||||
print(table)
|
print(table)
|
||||||
|
print()
|
||||||
|
|
||||||
|
|
||||||
def handle_exceptions(function: Callable) -> Callable:
|
def handle_exceptions(function: Callable) -> Callable:
|
||||||
|
|
Loading…
Reference in New Issue