Add try to capture daemon error