mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 20:56:35 +00:00
Merge pull request #11669 from barbudor/autoexec_berry_display_exception
Display exception in autoexec.bet
This commit is contained in:
commit
6b337b2dd8
@ -408,8 +408,8 @@ const char berry_autoexec[] =
|
|||||||
// load "autoexec.be" using import, which loads either .be or .bec file
|
// load "autoexec.be" using import, which loads either .be or .bec file
|
||||||
"try "
|
"try "
|
||||||
"load('autoexec.be') "
|
"load('autoexec.be') "
|
||||||
"except .. "
|
"except .. as e,m "
|
||||||
"log(\"BRY: No 'autoexec.be' file\") "
|
"log(\"BRY: exception in autoexec '\",e,\"':\",m) "
|
||||||
"end "
|
"end "
|
||||||
;
|
;
|
||||||
#endif // USE_BERRY
|
#endif // USE_BERRY
|
||||||
|
Loading…
x
Reference in New Issue
Block a user