Skip to content

Commit 74f296a

Browse files
authored
Merge pull request #88 from serv-c/drgroot-patch-1
fix(http): fixed exception for no blob
2 parents c4d8603 + 4eb2fcf commit 74f296a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servc/svc/com/http/blob.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def __init__(
4343

4444
blobs = [x for x in components if x.name == "blob"]
4545
if len(blobs) == 0:
46-
raise ValueError("Blob storage component not found in components list")
46+
raise Exception("Blob storage component not found in components list")
4747
self._blobStorage = blobs[0] # type: ignore[assignment]
4848

4949
self._uploadcontainer = config.get("uploadcontainer") or "uploads"

0 commit comments

Comments
 (0)