File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -303,8 +303,8 @@ def process_args(server: CodeflashLanguageServer) -> Namespace:
303303def check_api_key (server : CodeflashLanguageServer , _params : any ) -> dict [str , str ]:
304304 try :
305305 return _initialize_optimizer_if_api_key_is_valid (server )
306- except Exception as e :
307- return {"status" : "error" , "message" : f "something went wrong while validating the api key{ e !s } " }
306+ except Exception :
307+ return {"status" : "error" , "message" : "something went wrong while validating the api key" }
308308
309309
310310@server .feature ("provideApiKey" )
@@ -327,8 +327,8 @@ def provide_api_key(server: CodeflashLanguageServer, params: ProvideApiKeyParams
327327 if not is_successful (result ):
328328 return {"status" : "error" , "message" : result .failure ()}
329329 return {"status" : "success" , "message" : "Api key saved successfully" , "user_id" : user_id } # noqa: TRY300
330- except Exception as e :
331- return {"status" : "error" , "message" : f "something went wrong while saving the api key{ e !s } " }
330+ except Exception :
331+ return {"status" : "error" , "message" : "something went wrong while saving the api key" }
332332
333333
334334@server .feature ("initializeFunctionOptimization" )
You can’t perform that action at this time.
0 commit comments