Display exception in autoexec.bet

This commit is contained in:
Barbudor 2021-04-11 15:39:59 +02:00
parent c2cde43a54
commit d4b2a85aff
1 changed files with 6 additions and 6 deletions

View File

@ -395,8 +395,8 @@ const char berry_autoexec[] =
// load "autoexec.be" using import, which loads either .be or .bec file
"try "
"load('autoexec.be') "
"except .. "
"log(\"BRY: No 'autoexec.be' file\") "
"except .. as e,m "
"log(\"BRY: exception in autoexec '\",e,\"':\",m) "
"end "
;
#endif // USE_BERRY