Improve error repotting and fix outdated dependencies

Do not merge this is for testing only. Could you please repeat the testing with as much logs as possible.