Been having this minor issue for a while now, might aswell report it when you have your hands busy with the newly released expansion

Sometimes when exiting factorio or restarting (enabling a mod for example) I get an error message. This issue was also happening before the expansion released.
I've attached the log-file, let me know if you want anything else.