rest_dbus.py:Update abort message for do_post

-When args are in correct format, but are not in accepted
range, in this case the current abort message not seems
meaningful.
-Updated abort message to suite for both cases when the arg
type is not correct or arg value is not in accepted range.

Fixes openbmc/openbmc#2576

Change-Id: Id35241b05cd193172e2b7b1c905c396d0f9a9b4b
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
1 file changed
tree: 3d20a10afdaf1757d2ab140ea4fa8ca0c1d2726a
  1. module/
  2. servers/
  3. LICENSE