Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logs #157

Closed
dickermoshe opened this issue Mar 2, 2023 · 1 comment
Closed

Logs #157

dickermoshe opened this issue Mar 2, 2023 · 1 comment

Comments

@dickermoshe
Copy link

dickermoshe commented Mar 2, 2023

When there is an exception you only provide 1 line of logs
<Callback[parse_game]: integer out of range
What can I do to get more verbose logs ?

@howie6879
Copy link
Owner

First of all, let's solve the problem first, this log shows that the index in your list exceeds the length of the list

Secondly, I think this prompt is enough. Ruia has already printed all the captured errors. If it is more detailed, it is the specific number of lines reported by the ruia framework, which may not help you to solve the problem.

try:
            callback_result = await aws_callback
        except NothingMatchedError as e:
            self.logger.error(f"<Item: {str(e).lower()}>")
        except Exception as e:
            self.logger.error(f"<Callback[{aws_callback.__name__}]: {e}")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants