Improve Error Handling in Auto POS adder

* Fix bug causing JS to not show error message
* Make error messages describe correct problem
* Stop unknown exceptions being caught