(maint) Fix debug and error output

Every time we did set up a zone we crashed at the debug line. Now it works