[#1827] print and free error stack before returning from call to generalAdmin in iadmin