pass in flow_id to relation settings
some special casing for local dev
error writing should not be in if, sorry
flow instance should also report full error
Merge pull request #24 from zillabyte/xiao/master

@jakequist, @nkarnik -- fix local dev mode sinking