Trap on error in post-hook script
Trap on error in post-hook script

To archive logs.

Change-Id: Ifcb605969285318e8fe2e9813867985bd7cf84fb

jiahaoliang/group-based-policy,tbachman/group-based-policy,jiahaoliang/group-based-policy,noironetworks/group-based-policy,tbachman/group-based-policy,noironetworks/group-based-policy,stackforge/group-based-policy,stackforge/group-based-policy