-changes to assemble war
-error handling if retrieve from API failed

Signed-off-by: Artyom Borkowsky <artyom_borkowsky@stylesoft.by>