Commits

Anonymous committed 5cf3847

Propagate qterm parse failures up the call chain

  • Participants
  • Parent commits b11c3d4

Comments (0)

Files changed (1)

File apps/riak/src/riak_mapreduce_fsm.erl

             riak_eventer:notify(riak_mapreduce_fsm, mr_fsm_done,
                                 {error, {bad_qterm, QTerm}}),
             Client ! {ReqId, {error, {bad_qterm, QTerm}}},
-            {stop,normal}
+            {stop, {bad_qterm, QTerm}}
     end.
 
 check_query_syntax([]) -> ok;