berrysauce / ingredients

f-string used without any expression PTC-W0027
Anti-pattern
Major
4 months ago4 months old
f-string used without any expression
151    except httpx.RequestError as e:
152        raise HTTPException(status_code=400, detail=str(e))
153    except:
154        raise HTTPException(status_code=500, detail=f"Unknown error")155        
156        
157@app.get("/icon/{icon}")