Skip to content

Commit

Permalink
removes unnecessary raise
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosCoelhoSL committed Dec 2, 2024
1 parent e12a728 commit 7f093bf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions digital_land/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)}")

Expand Down

0 comments on commit 7f093bf

Please sign in to comment.