Properly set error code when failed in distributed example

Created by: aprokop

Fix #52 (closed).

Merge request reports

Loading