Fixed error catching
Merge branch 'master' of https://github.com/xiagu/plotlines