def msg_raise(msg, err)

      fei = msg['fei']
      wfid = msg['wfid'] || msg.fetch('fei', {})['wfid']

      @context.storage.put_msg(
        'raise',
        'fei' => fei,
        'wfid' => wfid,
        'msg' => msg,
        'error' => deflate(err, fei))
    end
def msg_raise(msg, err)

      fei = msg['fei']
      wfid = msg['wfid'] || msg.fetch('fei', {})['wfid']

      @context.storage.put_msg(
        'raise',
        'fei' => fei,
        'wfid' => wfid,
        'msg' => msg,
        'error' => deflate(err, fei))
    end
Packages the error in a 'raise' msg and places it in the storage,
 for a worker to pick it up.

 TODO: investigate: is it still used, relevant? (probably yes, ruote-swf)