From 6e34ff524dafac5d968a206cc378b3a6814ef7a8 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Fri, 3 Nov 2023 21:54:11 +0100 Subject: [PATCH] uncomment a custom error message --- rendercv/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rendercv/__main__.py b/rendercv/__main__.py index 671d345a..6e279cd8 100644 --- a/rendercv/__main__.py +++ b/rendercv/__main__.py @@ -44,7 +44,7 @@ def user_friendly_errors(func: Callable) -> Callable: # Translate Pydantic's error messages to make them more user-friendly custom_error_messages_by_type = { "url_scheme": "This is not a valid URL 😿", - # "string_type": "This is not a valid string 🤭", + "string_type": "This is not a valid string 🤭", "missing": "This field is required, but it is missing 😆", "literal_error": "Only the following values are allowed: {expected} 😒", }