Add error handling to ci job to create pdf document of handbook

Scenario summary

Need to add error handling when interaction with Gitlab curls.

Content proposal

Add simple error handling block within ci script block.