Improve error reporting in NetJack2.