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

Сделать отображение ошибок в логе игры #50

Open
daynekoroman opened this issue Jul 14, 2022 · 0 comments

Comments

@daynekoroman
Copy link
Contributor

daynekoroman commented Jul 14, 2022

Сейчас, в случае Java, при получении любой из ошибок по ограничениям или использовании чего-либо запрещенного(диска сети) в логе будет

Can not write to /root/.m2/copy_reference_file.log. Wrong volume permissions? Carrying on ...
Exception in thread "main" java.io.IOException: Unexpected EOF
	at ai_cup_22.util.StreamUtil.readBytes(StreamUtil.java:23)
	at ai_cup_22.util.StreamUtil.readInt(StreamUtil.java:33)
	at ai_cup_22.codegame.ServerMessage.readFrom(ServerMessage.java:18)
	at ai_cup_22.Runner.run(Runner.java:32)
	at ai_cup_22.Runner.main(Runner.java:58)

Что никак не помогает в разборе полетов
Предлагается сделать говорящие ошибки

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

No branches or pull requests

2 participants