[.14.21] Minor scripting - bootstrap errors are not logged

This subforum contains all the issues which we already resolved.
Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

[.14.21] Minor scripting - bootstrap errors are not logged

Post by Nexela »

Script errors during the bootstrap events (on_init, on_configuration_changed, possibly on_load)are not logged to the logfile. It would be nice to have this for reporting the exact error in other mods without copying by hand or printing the screen.

if the error occurs in on_tick or elsewhere it is correctly written to the log. This can be observed by commenting out the on_init line in the attached mod.
Attachments
LogErrors_1.0.0.zip
(1.2 KiB) Downloaded 53 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 16000
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [.14.21] Minor scripting - bootstrap errors are not logged

Post by Rseding91 »

Fixed for 0.15.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”