From 7f093bf50ff4c445ee8c511808f32550580bde09 Mon Sep 17 00:00:00 2001 From: CarlosCoelhoSL Date: Mon, 2 Dec 2024 12:35:33 +0000 Subject: [PATCH] removes unnecessary raise --- digital_land/commands.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/digital_land/commands.py b/digital_land/commands.py index dee0ce63..1df1efa2 100644 --- a/digital_land/commands.py +++ b/digital_land/commands.py @@ -635,8 +635,6 @@ def validate_and_add_data_input( raise ValueError( f"The start_date {given_start_date} cannot be in the future" ) - except ValueError: - raise except Exception as e: raise ValueError(f"An unexpected error occured: {str(e)}")