Added exception logging.
Merge branch 'master' of github.com:pbs/flowy
More exception logging.