Skip to content

Commit

Permalink
Merge pull request #3 from apify/fix/status-message
Browse files Browse the repository at this point in the history
fix: status message
  • Loading branch information
jirispilka authored Feb 17, 2025
2 parents 8a2d5b5 + 1cdbf06 commit d28acfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
This changelog summarizes all changes of the RAG Web Browser

### 0.0.8 (2025-02-12)
### 0.1.0 (2025-02-17)

🚀 Features
- Dataset query engine implementation
4 changes: 1 addition & 3 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,7 @@ async def main() -> None:
actor_input = await check_inputs(actor_input, payload)
await process_query(actor_input)
except Exception as e:
msg = f'Failed to process query, error {e}'
logger.exception(msg)
await Actor.fail(status_message=msg)
await Actor.fail(status_message='Failed to process query', exception=e)


if __name__ == '__main__':
Expand Down

0 comments on commit d28acfb

Please sign in to comment.