return error

This commit is contained in:
wh1te909
2023-10-25 00:12:18 +00:00
parent 03c1b6e30c
commit 22e878502a

View File

@@ -381,8 +381,8 @@ class SharedTemplatesRepo(APIView):
if file["download_url"]
]
)
except:
return notify_error("Unable to connect to repo")
except Exception as e:
return notify_error(str(e))
@transaction.atomic
def post(self, request: Request) -> Response: