HPCC-10253 WsWorkunits::onGet should return exceptions to the client

Fixes 4.2 regression caused after windows build break was fixed.
Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>