ft_trialfun now exits if ft_read_event fails and rethrows the error.

if ft_read_event would fail with an error, ft_trialfun_general would continue running without even showing the error. i suggest that in the case of ft_read_event throwing an error, the execution of the trialfun should be stopped and the error propagated to the user.