How to display error messages #5800
Description
When I encounter some errors, the process will exit without giving me any information.
Actually, it is common to have some bugs in my code, but after
experiment.run(port=8080, wait_completion=False,debug=True)
the new process will not print my debug info onto the terminal.
For example, if I read a non-existent file, the process will fail sliently, and I have to gauss what has happened.
I attempt to read " https://github.com/microsoft/nni/blob/master/docs/en_US/Tutorial/HowToDebug.md " but the file does't exist.
当使用nni运行带有bug的代码时,似乎nni会跳过此次trail,并且不报告错误在何处。例如我读取数据的路径出现了错误,在nni的终端里并不会报告此错误。
此外, " https://github.com/microsoft/nni/blob/master/docs/en_US/Tutorial/HowToDebug.md " 也无法打开。
Environment:
- Training service (local|remote|pai|aml|etc): local
- Client OS: Windows 11 / ubuntu 20.04
- Python version: 3.8
- Is conda/virtualenv/venv used?: yes
- Is running in Docker?: no
Configuration:
- Experiment config (remember to remove secrets!):
- Search space:
Log message:
- nnimanager.log:
- dispatcher.log:
- nnictl stdout and stderr:
How to reproduce it?:
You can make a bug deliberatly, and you will see that nothing about the bug is reported.