Skip to content

Commit 5930576

Browse files
committed
Update api.py
1 parent 0a049cf commit 5930576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/api/api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def mask_decode_to_image(encoding):
134134
print(f'SAM successfully dilated mask by {dilate_value}.')
135135

136136
else:
137-
print(f'!!!! Error: SAM did not return a masked_image!')
137+
print(f'!!!! Error: SAM did not return a masked_image! response is {response}')
138138
raise HTTPException(status_code=500, detail="Error: sam did not return a masked_image!")
139139
else:
140140
print(f'!!!! Error: SAM heartbeat lost!')

0 commit comments

Comments
 (0)