more verbose error message. even if location not used atm.
added missing endline to end of output.