Skip to content

Commit

Permalink
Redirect error in case when storage doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Marishka17 committed May 21, 2021
1 parent 2f73319 commit 4ac72cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cvat/apps/engine/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,7 @@ def perform_create(self, serializer):
except Exception as ex:
message = str(ex)
slogger.glob.error(message)
raise serializers.ValidationError(message)
raise

owner = self.request.data.get('owner')
if owner:
Expand Down

0 comments on commit 4ac72cc

Please sign in to comment.