Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -248,7 +248,8 @@ class IssueManager:
|
|
248 |
break
|
249 |
|
250 |
if not found_issue:
|
251 |
-
|
|
|
252 |
return "Error: Issue data for this suggestion request (hash) not found in current state. The issue might have been updated or closed. Please re-select the issue."
|
253 |
|
254 |
if model_key not in HF_MODELS:
|
|
|
248 |
break
|
249 |
|
250 |
if not found_issue:
|
251 |
+
logger.error(f"Could not find issue data for hash {issue_hash} in current state. Suggestion might be based on outdated info if generated.")
|
252 |
+
|
253 |
return "Error: Issue data for this suggestion request (hash) not found in current state. The issue might have been updated or closed. Please re-select the issue."
|
254 |
|
255 |
if model_key not in HF_MODELS:
|