Guiyom commited on
Commit
d4e8ac0
·
verified ·
1 Parent(s): dfc2288

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -123,6 +123,7 @@ class RaindropSearchBot:
123
  # Get URL based on source type
124
  url = item.get('link') or item.get('url')
125
  if not url:
 
126
  return item
127
 
128
  # For Raindrop items, use existing excerpt if available
@@ -168,7 +169,7 @@ class RaindropSearchBot:
168
  return item
169
 
170
  except Exception as e:
171
- logger.error(f"Error processing item: {e}")
172
  return item
173
 
174
  def search_raindrop(self, search_query: str) -> List[Dict]:
 
123
  # Get URL based on source type
124
  url = item.get('link') or item.get('url')
125
  if not url:
126
+ logger.warning(f"No URL found in item from {source_type}")
127
  return item
128
 
129
  # For Raindrop items, use existing excerpt if available
 
169
  return item
170
 
171
  except Exception as e:
172
+ logger.error(f"Error processing item from {source_type}: {e}")
173
  return item
174
 
175
  def search_raindrop(self, search_query: str) -> List[Dict]: