Update docs/modules/node.md

Co-authored-by: Gregor Hartmann <HHHartmann@users.noreply.github.com>
This commit is contained in:
Marcel Stör 2021-02-16 20:28:43 +01:00
parent 34ad3370bd
commit c8e2e18e4f
1 changed files with 1 additions and 1 deletions

View File

@ -482,7 +482,7 @@ node.setcpufreq(node.CPU80MHZ)
## node.setonerror()
Use this to override the default "always restart" action if wanted; for example to write an error to a logfile or to a network syslog before restarting.
Overrides the default crash handling which always restarts the system. It can be used to e.g. write an error to a logfile or to secure connected hardware before restarting.
!!! attention